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