Added unmount, now unmount as well as umount exist
This commit is contained in:
parent
d4a31af34d
commit
158d0505ea
|
@ -126,6 +126,7 @@ times.c
|
|||
truncate.s
|
||||
umask.s
|
||||
unlink.s
|
||||
umount.s
|
||||
unmount.s
|
||||
utime.c
|
||||
utimes.s
|
||||
|
|
4
mach/sun2/libsys/umount.s
Normal file
4
mach/sun2/libsys/umount.s
Normal file
|
@ -0,0 +1,4 @@
|
|||
#include "syscall.h"
|
||||
.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
|
||||
.define _umount
|
||||
_umount: SYSTEM(SYS_umount)
|
|
@ -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)
|
||||
|
|
|
@ -129,6 +129,7 @@ times.c
|
|||
truncate.s
|
||||
umask.s
|
||||
unlink.s
|
||||
umount.s
|
||||
unmount.s
|
||||
ustat.s
|
||||
utime.c
|
||||
|
|
|
@ -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;
|
||||
|
|
4
mach/sun3/libsys/umount.s
Normal file
4
mach/sun3/libsys/umount.s
Normal file
|
@ -0,0 +1,4 @@
|
|||
#include "syscall.h"
|
||||
.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
|
||||
.define _umount
|
||||
_umount: SYSTEM(SYS_umount)
|
|
@ -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)
|
||||
|
|
|
@ -119,6 +119,7 @@ getrusage.s
|
|||
truncate.s
|
||||
umask.s
|
||||
umount.s
|
||||
unmount.s
|
||||
unlink.s
|
||||
utime.c
|
||||
utimes.s
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
.globl _errno, cerror
|
||||
.globl _errno
|
||||
.globl cerror
|
||||
.comm _errno, 4
|
||||
cerror:
|
||||
movl r0,_errno
|
||||
|
|
3
mach/vax4/libbsd4_2/unmount.s
Normal file
3
mach/vax4/libbsd4_2/unmount.s
Normal file
|
@ -0,0 +1,3 @@
|
|||
#include "syscall.h"
|
||||
DEFINE(_unmount)
|
||||
SYSTEM(SYS_umount)
|
Loading…
Reference in a new issue