-/* $OpenBSD: linux_syscall.h,v 1.18 2000/03/27 22:38:43 jasoni Exp $ */
+/* $OpenBSD: linux_syscall.h,v 1.19 2000/03/28 06:36:29 jasoni Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.19 2000/03/27 22:38:12 jasoni Exp
+ * created from OpenBSD: syscalls.master,v 1.20 2000/03/28 06:35:57 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_sigreturn" ret: "int" args: "struct linux_rt_sigframe *" */
+#define LINUX_SYS_rt_sigreturn 173
+
/* syscall: "rt_sigaction" ret: "int" args: "int" "struct linux_sigaction *" "struct linux_sigaction *" "size_t" */
#define LINUX_SYS_rt_sigaction 174
-/* $OpenBSD: linux_syscallargs.h,v 1.19 2000/03/27 22:38:44 jasoni Exp $ */
+/* $OpenBSD: linux_syscallargs.h,v 1.20 2000/03/28 06:36:29 jasoni Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.19 2000/03/27 22:38:12 jasoni Exp
+ * created from OpenBSD: syscalls.master,v 1.20 2000/03/28 06:35:57 jasoni Exp
*/
#define syscallarg(x) union { x datum; register_t pad; }
syscallarg(gid_t *) sgid;
};
+struct linux_sys_rt_sigreturn_args {
+ syscallarg(struct linux_rt_sigframe *) sfp;
+};
+
struct linux_sys_rt_sigaction_args {
syscallarg(int) signum;
syscallarg(struct linux_sigaction *) nsa;
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_sigreturn __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 *));
-/* $OpenBSD: linux_syscalls.c,v 1.18 2000/03/27 22:38:44 jasoni Exp $ */
+/* $OpenBSD: linux_syscalls.c,v 1.19 2000/03/28 06:36:29 jasoni Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.19 2000/03/27 22:38:12 jasoni Exp
+ * created from OpenBSD: syscalls.master,v 1.20 2000/03/28 06:35:57 jasoni Exp
*/
char *linux_syscallnames[] = {
"setresgid", /* 170 = setresgid */
"getresgid", /* 171 = getresgid */
"#172 (unimplemented prctl)", /* 172 = unimplemented prctl */
- "#173 (unimplemented rt_sigreturn)", /* 173 = unimplemented rt_sigreturn */
+ "rt_sigreturn", /* 173 = rt_sigreturn */
"rt_sigaction", /* 174 = rt_sigaction */
"rt_sigprocmask", /* 175 = rt_sigprocmask */
"rt_sigpending", /* 176 = rt_sigpending */
-/* $OpenBSD: linux_sysent.c,v 1.19 2000/03/27 22:38:44 jasoni Exp $ */
+/* $OpenBSD: linux_sysent.c,v 1.20 2000/03/28 06:36:29 jasoni Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.19 2000/03/27 22:38:12 jasoni Exp
+ * created from OpenBSD: syscalls.master,v 1.20 2000/03/28 06:35:57 jasoni Exp
*/
#include <sys/param.h>
linux_sys_getresgid }, /* 171 = getresgid */
{ 0, 0,
sys_nosys }, /* 172 = unimplemented prctl */
- { 0, 0,
- sys_nosys }, /* 173 = unimplemented rt_sigreturn */
+ { 1, s(struct linux_sys_rt_sigreturn_args),
+ linux_sys_rt_sigreturn }, /* 173 = rt_sigreturn */
{ 4, s(struct linux_sys_rt_sigaction_args),
linux_sys_rt_sigaction }, /* 174 = rt_sigaction */
{ 4, s(struct linux_sys_rt_sigprocmask_args),