diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 2000-06-07 14:23:09 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 2000-06-07 14:23:09 +0000 |
commit | 6a3b3b9fb70c91434aeeff3b56f684119c25dc2b (patch) | |
tree | 3ae154cd00a0dbe90a3b93dc1c1116a41cab7a60 /sys/compat | |
parent | 8bd3326a2db733d0af9b572d11a31f7e4ff4c172 (diff) |
sync
Diffstat (limited to 'sys/compat')
-rw-r--r-- | sys/compat/linux/linux_syscall.h | 7 | ||||
-rw-r--r-- | sys/compat/linux/linux_syscallargs.h | 10 | ||||
-rw-r--r-- | sys/compat/linux/linux_syscalls.c | 6 | ||||
-rw-r--r-- | sys/compat/linux/linux_sysent.c | 8 |
4 files changed, 20 insertions, 11 deletions
diff --git a/sys/compat/linux/linux_syscall.h b/sys/compat/linux/linux_syscall.h index 15c4d9ea315..93cb5dc20dd 100644 --- a/sys/compat/linux/linux_syscall.h +++ b/sys/compat/linux/linux_syscall.h @@ -1,10 +1,10 @@ -/* $OpenBSD: linux_syscall.h,v 1.22 2000/06/07 13:37:55 niklas Exp $ */ +/* $OpenBSD: linux_syscall.h,v 1.23 2000/06/07 14:23:07 niklas Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.22 2000/04/12 04:22:40 jasoni Exp + * created from OpenBSD: syscalls.master,v 1.24 2000/06/07 14:11:38 niklas Exp */ /* syscall: "syscall" ret: "int" args: */ @@ -429,6 +429,9 @@ /* syscall: "getcwd" ret: "int" args: "char *" "size_t" */ #define LINUX_SYS_getcwd 183 +/* syscall: "sigaltstack" ret: "int" args: "const struct linux_sigaltstack *" "struct linux_sigaltstack *" */ +#define LINUX_SYS_sigaltstack 186 + /* syscall: "vfork" ret: "int" args: */ #define LINUX_SYS_vfork 190 diff --git a/sys/compat/linux/linux_syscallargs.h b/sys/compat/linux/linux_syscallargs.h index 14cd13941ae..a8d02ab8800 100644 --- a/sys/compat/linux/linux_syscallargs.h +++ b/sys/compat/linux/linux_syscallargs.h @@ -1,10 +1,10 @@ -/* $OpenBSD: linux_syscallargs.h,v 1.23 2000/06/07 13:37:56 niklas Exp $ */ +/* $OpenBSD: linux_syscallargs.h,v 1.24 2000/06/07 14:23:07 niklas Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.22 2000/04/12 04:22:40 jasoni Exp + * created from OpenBSD: syscalls.master,v 1.24 2000/06/07 14:11:38 niklas Exp */ #define syscallarg(x) union { x datum; register_t pad; } @@ -440,6 +440,11 @@ struct linux_sys_getcwd_args { syscallarg(size_t) length; }; +struct linux_sys_sigaltstack_args { + syscallarg(const struct linux_sigaltstack *) nss; + syscallarg(struct linux_sigaltstack *) oss; +}; + struct linux_sys_ugetrlimit_args { syscallarg(u_int) which; syscallarg(struct linux_rlimit *) rlp; @@ -598,5 +603,6 @@ int linux_sys_pread __P((struct proc *, void *, register_t *)); int linux_sys_pwrite __P((struct proc *, void *, register_t *)); int linux_sys_chown __P((struct proc *, void *, register_t *)); int linux_sys_getcwd __P((struct proc *, void *, register_t *)); +int linux_sys_sigaltstack __P((struct proc *, void *, register_t *)); int sys_vfork __P((struct proc *, void *, register_t *)); int linux_sys_ugetrlimit __P((struct proc *, void *, register_t *)); diff --git a/sys/compat/linux/linux_syscalls.c b/sys/compat/linux/linux_syscalls.c index 0e6f561bc8c..5cb80e62627 100644 --- a/sys/compat/linux/linux_syscalls.c +++ b/sys/compat/linux/linux_syscalls.c @@ -1,10 +1,10 @@ -/* $OpenBSD: linux_syscalls.c,v 1.22 2000/06/07 13:37:56 niklas Exp $ */ +/* $OpenBSD: linux_syscalls.c,v 1.23 2000/06/07 14:23:07 niklas Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.22 2000/04/12 04:22:40 jasoni Exp + * created from OpenBSD: syscalls.master,v 1.24 2000/06/07 14:11:38 niklas Exp */ char *linux_syscallnames[] = { @@ -206,7 +206,7 @@ char *linux_syscallnames[] = { "getcwd", /* 183 = getcwd */ "#184 (unimplemented capget)", /* 184 = unimplemented capget */ "#185 (unimplemented capset)", /* 185 = unimplemented capset */ - "#186 (unimplemented sigaltstack)", /* 186 = unimplemented sigaltstack */ + "sigaltstack", /* 186 = sigaltstack */ "#187 (unimplemented sendfile)", /* 187 = unimplemented sendfile */ "#188 (unimplemented getpmsg)", /* 188 = unimplemented getpmsg */ "#189 (unimplemented putpmsg)", /* 189 = unimplemented putpmsg */ diff --git a/sys/compat/linux/linux_sysent.c b/sys/compat/linux/linux_sysent.c index 8da6980cb1d..e0dd0a318df 100644 --- a/sys/compat/linux/linux_sysent.c +++ b/sys/compat/linux/linux_sysent.c @@ -1,10 +1,10 @@ -/* $OpenBSD: linux_sysent.c,v 1.23 2000/06/07 13:37:56 niklas Exp $ */ +/* $OpenBSD: linux_sysent.c,v 1.24 2000/06/07 14:23:08 niklas Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.22 2000/04/12 04:22:40 jasoni Exp + * created from OpenBSD: syscalls.master,v 1.24 2000/06/07 14:11:38 niklas Exp */ #include <sys/param.h> @@ -407,8 +407,8 @@ struct sysent linux_sysent[] = { sys_nosys }, /* 184 = unimplemented capget */ { 0, 0, sys_nosys }, /* 185 = unimplemented capset */ - { 0, 0, - sys_nosys }, /* 186 = unimplemented sigaltstack */ + { 2, s(struct linux_sys_sigaltstack_args), + linux_sys_sigaltstack }, /* 186 = sigaltstack */ { 0, 0, sys_nosys }, /* 187 = unimplemented sendfile */ { 0, 0, |