summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/compat/linux/linux_syscall.h7
-rw-r--r--sys/compat/linux/linux_syscallargs.h9
-rw-r--r--sys/compat/linux/linux_syscalls.c6
-rw-r--r--sys/compat/linux/linux_sysent.c8
4 files changed, 19 insertions, 11 deletions
diff --git a/sys/compat/linux/linux_syscall.h b/sys/compat/linux/linux_syscall.h
index a3689da416d..f723cc06d62 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.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: */
@@ -396,6 +396,9 @@
/* 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
diff --git a/sys/compat/linux/linux_syscallargs.h b/sys/compat/linux/linux_syscallargs.h
index a60faf845b4..bb7e1fa76f5 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.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; }
@@ -373,6 +373,10 @@ struct linux_sys_getresgid_args {
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;
@@ -550,6 +554,7 @@ 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_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 *));
diff --git a/sys/compat/linux/linux_syscalls.c b/sys/compat/linux/linux_syscalls.c
index b92ffec0415..3de2a2f67ff 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.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[] = {
@@ -193,7 +193,7 @@ 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 */
diff --git a/sys/compat/linux/linux_sysent.c b/sys/compat/linux/linux_sysent.c
index 9a024a51725..3125ac079d8 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.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>
@@ -381,8 +381,8 @@ struct sysent linux_sysent[] = {
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),