Add support for a few syscalls:

setfsuid16/getfsuid16
setfsuid/getfsuid
sched_yield

ok by manu
This commit is contained in:
njoly 2007-02-16 20:49:06 +00:00
parent 6a0e6d5715
commit 11f77cf45a

View File

@ -1,4 +1,4 @@
$NetBSD: syscalls.master,v 1.10 2007/02/09 21:55:21 ad Exp $
$NetBSD: syscalls.master,v 1.11 2007/02/16 20:49:06 njoly Exp $
; NetBSD i386 COMPAT_LINUX32 system call name/number "master" file.
; (See syscalls.conf to see what it is processed into.)
@ -233,8 +233,8 @@
135 UNIMPL sysfs
136 UNIMPL personality
137 UNIMPL afs_syscall
138 UNIMPL int
139 UNIMPL int
138 NOARGS setfsuid16 { int linux_sys_setfsuid(uid_t uid); }
139 NOARGS getfsuid16 { int linux_sys_getfsuid(void); }
140 STD { int linux32_sys_llseek(int fd, u_int32_t ohigh, \
u_int32_t olow, netbsd32_caddr_t res, int whence); }
141 STD { int linux32_sys_getdents(int fd, \
@ -263,7 +263,7 @@
156 STD { int linux32_sys_sched_setscheduler(pid_t pid, \
int policy, const linux32_sched_paramp_t sp); }
157 NOARGS { int linux_sys_sched_getscheduler(pid_t pid); }
158 UNIMPL sched_yield
158 NOARGS { int linux_sys_sched_yield(void); }
159 UNIMPL sched_get_priority_max
160 UNIMPL sched_get_priority_min
161 UNIMPL sched_rr_get_interval
@ -345,8 +345,8 @@
212 UNIMPL chown
213 NOARGS { int sys_setuid(uid_t uid); }
214 NOARGS { int sys_setgid(gid_t gid); }
215 UNIMPL setfsuid
216 UNIMPL getfsuid
215 NOARGS { int linux_sys_setfsuid(uid_t uid); }
216 NOARGS { int linux_sys_getfsuid(void); }
217 UNIMPL pivot_root
218 UNIMPL mincore
219 NOARGS { int netbsd32_madvise(netbsd32_voidp addr, \