diff options
-rw-r--r-- | sys/compat/linux/linux_syscall.h | 3 | ||||
-rw-r--r-- | sys/compat/linux/linux_syscallargs.h | 3 | ||||
-rw-r--r-- | sys/compat/linux/linux_syscalls.c | 4 | ||||
-rw-r--r-- | sys/compat/linux/linux_sysent.c | 6 |
4 files changed, 9 insertions, 7 deletions
diff --git a/sys/compat/linux/linux_syscall.h b/sys/compat/linux/linux_syscall.h index 565e5ab1496..e013fa33ee6 100644 --- a/sys/compat/linux/linux_syscall.h +++ b/sys/compat/linux/linux_syscall.h @@ -2,7 +2,7 @@ * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.12 1997/11/13 18:35:27 deraadt Exp + * created from OpenBSD: syscalls.master,v 1.13 1997/12/10 11:55:28 deraadt Exp */ #define LINUX_SYS_syscall 0 @@ -128,5 +128,6 @@ #define LINUX_SYS___sysctl 149 #define LINUX_SYS_mlock 150 #define LINUX_SYS_munlock 151 +#define LINUX_SYS_nanosleep 162 #define LINUX_SYS_mremap 163 #define LINUX_SYS_MAXSYSCALL 164 diff --git a/sys/compat/linux/linux_syscallargs.h b/sys/compat/linux/linux_syscallargs.h index 4281bd7d2b1..41a5cafa864 100644 --- a/sys/compat/linux/linux_syscallargs.h +++ b/sys/compat/linux/linux_syscallargs.h @@ -2,7 +2,7 @@ * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.12 1997/11/13 18:35:27 deraadt Exp + * created from OpenBSD: syscalls.master,v 1.13 1997/12/10 11:55:28 deraadt Exp */ #define syscallarg(x) union { x datum; register_t pad; } @@ -477,4 +477,5 @@ int linux_sys_fdatasync __P((struct proc *, void *, register_t *)); int linux_sys___sysctl __P((struct proc *, void *, register_t *)); int sys_mlock __P((struct proc *, void *, register_t *)); int sys_munlock __P((struct proc *, void *, register_t *)); +int sys_nanosleep __P((struct proc *, void *, register_t *)); int linux_sys_mremap __P((struct proc *, void *, register_t *)); diff --git a/sys/compat/linux/linux_syscalls.c b/sys/compat/linux/linux_syscalls.c index 7f5d852f06d..00f7d0bcb88 100644 --- a/sys/compat/linux/linux_syscalls.c +++ b/sys/compat/linux/linux_syscalls.c @@ -2,7 +2,7 @@ * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.12 1997/11/13 18:35:27 deraadt Exp + * created from OpenBSD: syscalls.master,v 1.13 1997/12/10 11:55:28 deraadt Exp */ char *linux_syscallnames[] = { @@ -180,6 +180,6 @@ char *linux_syscallnames[] = { "#159 (unimplemented sched_get_priority_max)", /* 159 = unimplemented sched_get_priority_max */ "#160 (unimplemented sched_get_priority_min)", /* 160 = unimplemented sched_get_priority_min */ "#161 (unimplemented sched_rr_get_interval)", /* 161 = unimplemented sched_rr_get_interval */ - "#162 (unimplemented nanosleep)", /* 162 = unimplemented nanosleep */ + "nanosleep", /* 162 = nanosleep */ "mremap", /* 163 = mremap */ }; diff --git a/sys/compat/linux/linux_sysent.c b/sys/compat/linux/linux_sysent.c index c44283d2a62..59bc913b9af 100644 --- a/sys/compat/linux/linux_sysent.c +++ b/sys/compat/linux/linux_sysent.c @@ -2,7 +2,7 @@ * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.12 1997/11/13 18:35:27 deraadt Exp + * created from OpenBSD: syscalls.master,v 1.13 1997/12/10 11:55:28 deraadt Exp */ #include <sys/param.h> @@ -357,8 +357,8 @@ struct sysent linux_sysent[] = { sys_nosys }, /* 160 = unimplemented sched_get_priority_min */ { 0, 0, sys_nosys }, /* 161 = unimplemented sched_rr_get_interval */ - { 0, 0, - sys_nosys }, /* 162 = unimplemented nanosleep */ + { 2, s(struct sys_nanosleep_args), + sys_nanosleep }, /* 162 = nanosleep */ { 4, s(struct linux_sys_mremap_args), linux_sys_mremap }, /* 163 = mremap */ }; |