-/* $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: */
/* 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
-/* $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; }
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;
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 *));
-/* $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[] = {
"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 */
-/* $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 <sys/param.h>
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,