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
|
truncate.s
|
||||||
umask.s
|
umask.s
|
||||||
unlink.s
|
unlink.s
|
||||||
|
umount.s
|
||||||
unmount.s
|
unmount.s
|
||||||
utime.c
|
utime.c
|
||||||
utimes.s
|
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"
|
#include "syscall.h"
|
||||||
.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
|
.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
|
||||||
.define _umount
|
.define _unmount
|
||||||
_umount: SYSTEM(SYS_umount)
|
_unmount: SYSTEM(SYS_umount)
|
||||||
|
|
|
@ -129,6 +129,7 @@ times.c
|
||||||
truncate.s
|
truncate.s
|
||||||
umask.s
|
umask.s
|
||||||
unlink.s
|
unlink.s
|
||||||
|
umount.s
|
||||||
unmount.s
|
unmount.s
|
||||||
ustat.s
|
ustat.s
|
||||||
utime.c
|
utime.c
|
||||||
|
|
|
@ -29,7 +29,7 @@ sigvec(sig,vec,ovec)
|
||||||
_sigfunc[sig] = old;
|
_sigfunc[sig] = old;
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
if (ovec->handler == _sigtramp) {
|
if (ovec && ovec->handler == _sigtramp) {
|
||||||
ovec->handler = old;
|
ovec->handler = old;
|
||||||
}
|
}
|
||||||
return 0;
|
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"
|
#include "syscall.h"
|
||||||
.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
|
.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
|
||||||
.define _umount
|
.define _unmount
|
||||||
_umount: SYSTEM(SYS_umount)
|
_unmount: SYSTEM(SYS_umount)
|
||||||
|
|
|
@ -119,6 +119,7 @@ getrusage.s
|
||||||
truncate.s
|
truncate.s
|
||||||
umask.s
|
umask.s
|
||||||
umount.s
|
umount.s
|
||||||
|
unmount.s
|
||||||
unlink.s
|
unlink.s
|
||||||
utime.c
|
utime.c
|
||||||
utimes.s
|
utimes.s
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
.globl _errno, cerror
|
.globl _errno
|
||||||
|
.globl cerror
|
||||||
.comm _errno, 4
|
.comm _errno, 4
|
||||||
cerror:
|
cerror:
|
||||||
movl r0,_errno
|
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