From 14d3abb3d76e2a8993705a85ce69c58a0b494b11 Mon Sep 17 00:00:00 2001 From: jasoni Date: Mon, 13 Mar 2000 08:18:56 +0000 Subject: [PATCH] sync --- sys/compat/linux/linux_syscall.h | 16 ++++++++++++-- sys/compat/linux/linux_syscallargs.h | 32 ++++++++++++++++++++++++++-- sys/compat/linux/linux_syscalls.c | 12 +++++------ sys/compat/linux/linux_sysent.c | 20 ++++++++--------- 4 files changed, 60 insertions(+), 20 deletions(-) diff --git a/sys/compat/linux/linux_syscall.h b/sys/compat/linux/linux_syscall.h index 7fc86bba10c..b856783f5cf 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.15 2000/03/08 03:36:22 jasoni Exp $ */ +/* $OpenBSD: linux_syscall.h,v 1.16 2000/03/13 08:18:56 jasoni Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.16 2000/03/08 03:35:29 jasoni Exp + * created from OpenBSD: syscalls.master,v 1.17 2000/03/13 08:18:30 jasoni Exp */ /* syscall: "syscall" ret: "int" args: */ @@ -396,6 +396,18 @@ /* syscall: "getresgid" ret: "int" args: "gid_t *" "gid_t *" "gid_t *" */ #define LINUX_SYS_getresgid 171 +/* syscall: "rt_sigaction" ret: "int" args: "int" "struct linux_sigaction *" "struct linux_sigaction *" "size_t" */ +#define LINUX_SYS_rt_sigaction 174 + +/* syscall: "rt_sigprocmask" ret: "int" args: "int" "const linux_sigset_t *" "linux_sigset_t *" "size_t" */ +#define LINUX_SYS_rt_sigprocmask 175 + +/* syscall: "rt_sigpending" ret: "int" args: "linux_sigset_t *" "size_t" */ +#define LINUX_SYS_rt_sigpending 176 + +/* syscall: "rt_sigsuspend" ret: "int" args: "linux_sigset_t *" "size_t" */ +#define LINUX_SYS_rt_sigsuspend 179 + /* syscall: "chown" ret: "int" args: "char *" "int" "int" */ #define LINUX_SYS_chown 182 diff --git a/sys/compat/linux/linux_syscallargs.h b/sys/compat/linux/linux_syscallargs.h index 0fc99fc81a5..897e2be37ad 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.16 2000/03/08 03:36:22 jasoni Exp $ */ +/* $OpenBSD: linux_syscallargs.h,v 1.17 2000/03/13 08:18:56 jasoni Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.16 2000/03/08 03:35:29 jasoni Exp + * created from OpenBSD: syscalls.master,v 1.17 2000/03/13 08:18:30 jasoni Exp */ #define syscallarg(x) union { x datum; register_t pad; } @@ -373,6 +373,30 @@ struct linux_sys_getresgid_args { syscallarg(gid_t *) sgid; }; +struct linux_sys_rt_sigaction_args { + syscallarg(int) signum; + syscallarg(struct linux_sigaction *) nsa; + syscallarg(struct linux_sigaction *) osa; + syscallarg(size_t) sigsetsize; +}; + +struct linux_sys_rt_sigprocmask_args { + syscallarg(int) how; + syscallarg(const linux_sigset_t *) set; + syscallarg(linux_sigset_t *) oset; + syscallarg(size_t) sigsetsize; +}; + +struct linux_sys_rt_sigpending_args { + syscallarg(linux_sigset_t *) set; + syscallarg(size_t) sigsetsize; +}; + +struct linux_sys_rt_sigsuspend_args { + syscallarg(linux_sigset_t *) unewset; + syscallarg(size_t) sigsetsize; +}; + struct linux_sys_chown_args { syscallarg(char *) path; syscallarg(int) uid; @@ -521,4 +545,8 @@ int linux_sys_getresuid __P((struct proc *, void *, register_t *)); int sys_poll __P((struct proc *, void *, register_t *)); int linux_sys_setresgid __P((struct proc *, void *, register_t *)); int linux_sys_getresgid __P((struct proc *, void *, register_t *)); +int linux_sys_rt_sigaction __P((struct proc *, void *, register_t *)); +int linux_sys_rt_sigprocmask __P((struct proc *, void *, register_t *)); +int linux_sys_rt_sigpending __P((struct proc *, void *, register_t *)); +int linux_sys_rt_sigsuspend __P((struct proc *, void *, register_t *)); int linux_sys_chown __P((struct proc *, void *, register_t *)); diff --git a/sys/compat/linux/linux_syscalls.c b/sys/compat/linux/linux_syscalls.c index 20e3f108b6e..f2e442bfee7 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.15 2000/03/08 03:36:22 jasoni Exp $ */ +/* $OpenBSD: linux_syscalls.c,v 1.16 2000/03/13 08:18:56 jasoni Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.16 2000/03/08 03:35:29 jasoni Exp + * created from OpenBSD: syscalls.master,v 1.17 2000/03/13 08:18:30 jasoni Exp */ char *linux_syscallnames[] = { @@ -194,12 +194,12 @@ char *linux_syscallnames[] = { "getresgid", /* 171 = getresgid */ "#172 (unimplemented prctl)", /* 172 = unimplemented prctl */ "#173 (unimplemented rt_sigreturn)", /* 173 = unimplemented rt_sigreturn */ - "#174 (unimplemented rt_sigaction)", /* 174 = unimplemented rt_sigaction */ - "#175 (unimplemented rt_sigprocmask)", /* 175 = unimplemented rt_sigprocmask */ - "#176 (unimplemented rt_sigpending)", /* 176 = unimplemented rt_sigpending */ + "rt_sigaction", /* 174 = rt_sigaction */ + "rt_sigprocmask", /* 175 = rt_sigprocmask */ + "rt_sigpending", /* 176 = rt_sigpending */ "#177 (unimplemented rt_sigtimedwait)", /* 177 = unimplemented rt_sigtimedwait */ "#178 (unimplemented rt_queueinfo)", /* 178 = unimplemented rt_queueinfo */ - "#179 (unimplemented rt_sigsuspend)", /* 179 = unimplemented rt_sigsuspend */ + "rt_sigsuspend", /* 179 = rt_sigsuspend */ "#180 (unimplemented pread)", /* 180 = unimplemented pread */ "#181 (unimplemented pwrite)", /* 181 = unimplemented pwrite */ "chown", /* 182 = chown */ diff --git a/sys/compat/linux/linux_sysent.c b/sys/compat/linux/linux_sysent.c index 7a5142bcb53..686f0e880f4 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.16 2000/03/08 03:36:22 jasoni Exp $ */ +/* $OpenBSD: linux_sysent.c,v 1.17 2000/03/13 08:18:56 jasoni Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.16 2000/03/08 03:35:29 jasoni Exp + * created from OpenBSD: syscalls.master,v 1.17 2000/03/13 08:18:30 jasoni Exp */ #include @@ -383,18 +383,18 @@ struct sysent linux_sysent[] = { sys_nosys }, /* 172 = unimplemented prctl */ { 0, 0, sys_nosys }, /* 173 = unimplemented rt_sigreturn */ - { 0, 0, - sys_nosys }, /* 174 = unimplemented rt_sigaction */ - { 0, 0, - sys_nosys }, /* 175 = unimplemented rt_sigprocmask */ - { 0, 0, - sys_nosys }, /* 176 = unimplemented rt_sigpending */ + { 4, s(struct linux_sys_rt_sigaction_args), + linux_sys_rt_sigaction }, /* 174 = rt_sigaction */ + { 4, s(struct linux_sys_rt_sigprocmask_args), + linux_sys_rt_sigprocmask }, /* 175 = rt_sigprocmask */ + { 2, s(struct linux_sys_rt_sigpending_args), + linux_sys_rt_sigpending }, /* 176 = rt_sigpending */ { 0, 0, sys_nosys }, /* 177 = unimplemented rt_sigtimedwait */ { 0, 0, sys_nosys }, /* 178 = unimplemented rt_queueinfo */ - { 0, 0, - sys_nosys }, /* 179 = unimplemented rt_sigsuspend */ + { 2, s(struct linux_sys_rt_sigsuspend_args), + linux_sys_rt_sigsuspend }, /* 179 = rt_sigsuspend */ { 0, 0, sys_nosys }, /* 180 = unimplemented pread */ { 0, 0, -- 2.20.1