Added unmount, now unmount as well as umount exist
authorceriel <none@none>
Mon, 5 Oct 1987 09:17:42 +0000 (09:17 +0000)
committerceriel <none@none>
Mon, 5 Oct 1987 09:17:42 +0000 (09:17 +0000)
mach/sun2/libsys/LIST
mach/sun2/libsys/umount.s [new file with mode: 0644]
mach/sun2/libsys/unmount.s
mach/sun3/libsys/LIST
mach/sun3/libsys/sigvec.c
mach/sun3/libsys/umount.s [new file with mode: 0644]
mach/sun3/libsys/unmount.s
mach/vax4/libbsd4_2/LIST
mach/vax4/libbsd4_2/cerror.s
mach/vax4/libbsd4_2/unmount.s [new file with mode: 0644]

index 36c42dd..3b15290 100644 (file)
@@ -126,6 +126,7 @@ times.c
 truncate.s
 umask.s
 unlink.s
+umount.s
 unmount.s
 utime.c
 utimes.s
diff --git a/mach/sun2/libsys/umount.s b/mach/sun2/libsys/umount.s
new file mode 100644 (file)
index 0000000..f323fa5
--- /dev/null
@@ -0,0 +1,4 @@
+#include "syscall.h"
+.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
+.define _umount
+_umount: SYSTEM(SYS_umount)
index f323fa5..d58bf83 100644 (file)
@@ -1,4 +1,4 @@
 #include "syscall.h"
 .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
-.define _umount
-_umount: SYSTEM(SYS_umount)
+.define _unmount
+_unmount: SYSTEM(SYS_umount)
index 2b74629..cffcb20 100644 (file)
@@ -129,6 +129,7 @@ times.c
 truncate.s
 umask.s
 unlink.s
+umount.s
 unmount.s
 ustat.s
 utime.c
index 82a2e69..9b2fb21 100644 (file)
@@ -29,7 +29,7 @@ sigvec(sig,vec,ovec)
                _sigfunc[sig] = old;
                return -1;
        }
-       if (ovec->handler == _sigtramp) {
+       if (ovec && ovec->handler == _sigtramp) {
                ovec->handler = old;
        }
        return 0;
diff --git a/mach/sun3/libsys/umount.s b/mach/sun3/libsys/umount.s
new file mode 100644 (file)
index 0000000..f323fa5
--- /dev/null
@@ -0,0 +1,4 @@
+#include "syscall.h"
+.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
+.define _umount
+_umount: SYSTEM(SYS_umount)
index f323fa5..d58bf83 100644 (file)
@@ -1,4 +1,4 @@
 #include "syscall.h"
 .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
-.define _umount
-_umount: SYSTEM(SYS_umount)
+.define _unmount
+_unmount: SYSTEM(SYS_umount)
index 8ea4f33..daba62b 100644 (file)
@@ -119,6 +119,7 @@ getrusage.s
 truncate.s
 umask.s
 umount.s
+unmount.s
 unlink.s
 utime.c
 utimes.s
index 27af5b3..3530115 100644 (file)
@@ -1,4 +1,5 @@
-       .globl  _errno, cerror
+       .globl  _errno
+       .globl  cerror
 .comm _errno, 4
 cerror:
        movl    r0,_errno
diff --git a/mach/vax4/libbsd4_2/unmount.s b/mach/vax4/libbsd4_2/unmount.s
new file mode 100644 (file)
index 0000000..ca040bb
--- /dev/null
@@ -0,0 +1,3 @@
+#include "syscall.h"
+DEFINE(_unmount)
+SYSTEM(SYS_umount)