summaryrefslogtreecommitdiff
path: root/sys/compat/linux
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat/linux')
-rw-r--r--sys/compat/linux/linux_syscall.h8
-rw-r--r--sys/compat/linux/linux_syscallargs.h10
-rw-r--r--sys/compat/linux/linux_syscalls.c6
-rw-r--r--sys/compat/linux/linux_sysent.c8
4 files changed, 18 insertions, 14 deletions
diff --git a/sys/compat/linux/linux_syscall.h b/sys/compat/linux/linux_syscall.h
index 8622148d24d..ef304fea946 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.42 2003/08/14 18:35:57 fgsch Exp $ */
+/* $OpenBSD: linux_syscall.h,v 1.43 2003/08/14 18:50:50 fgsch Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.41 2003/08/14 18:34:15 fgsch Exp
+ * created from OpenBSD: syscalls.master,v 1.42 2003/08/14 18:50:13 fgsch Exp
*/
/* syscall: "syscall" ret: "int" args: */
@@ -682,7 +682,7 @@
/* syscall: "fcntl64" ret: "int" args: "u_int" "u_int" "void *" */
#define LINUX_SYS_fcntl64 221
-/* syscall: "exit" ret: "int" args: "int" */
-#define LINUX_SYS_exit 252
+/* syscall: "exit_group" ret: "int" args: "int" */
+#define LINUX_SYS_exit_group 252
#define LINUX_SYS_MAXSYSCALL 268
diff --git a/sys/compat/linux/linux_syscallargs.h b/sys/compat/linux/linux_syscallargs.h
index 0d3d1f33d64..64b988cdcb0 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.44 2003/08/14 18:35:57 fgsch Exp $ */
+/* $OpenBSD: linux_syscallargs.h,v 1.45 2003/08/14 18:50:50 fgsch Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.41 2003/08/14 18:34:15 fgsch Exp
+ * created from OpenBSD: syscalls.master,v 1.42 2003/08/14 18:50:13 fgsch Exp
*/
#ifdef syscallarg
@@ -547,6 +547,10 @@ struct linux_sys_fcntl64_args {
syscallarg(void *) arg;
};
+struct linux_sys_exit_group_args {
+ syscallarg(int) rval;
+};
+
/*
* System call prototypes.
*/
@@ -788,4 +792,4 @@ int linux_sys_mincore(struct proc *, void *, register_t *);
int linux_sys_madvise(struct proc *, void *, register_t *);
int linux_sys_getdents64(struct proc *, void *, register_t *);
int linux_sys_fcntl64(struct proc *, void *, register_t *);
-int sys_exit(struct proc *, void *, register_t *);
+int linux_sys_exit_group(struct proc *, void *, register_t *);
diff --git a/sys/compat/linux/linux_syscalls.c b/sys/compat/linux/linux_syscalls.c
index 02d05a877fc..8b12a9425c0 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.42 2003/08/14 18:35:57 fgsch Exp $ */
+/* $OpenBSD: linux_syscalls.c,v 1.43 2003/08/14 18:50:50 fgsch Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.41 2003/08/14 18:34:15 fgsch Exp
+ * created from OpenBSD: syscalls.master,v 1.42 2003/08/14 18:50:13 fgsch Exp
*/
char *linux_syscallnames[] = {
@@ -276,7 +276,7 @@ char *linux_syscallnames[] = {
"#249 (unimplemented linux_sys_io_cancel)", /* 249 = unimplemented linux_sys_io_cancel */
"#250 (unimplemented linux_sys_fadvise64)", /* 250 = unimplemented linux_sys_fadvise64 */
"#251 (unimplemented)", /* 251 = unimplemented */
- "exit", /* 252 = exit */
+ "exit_group", /* 252 = exit_group */
"#253 (unimplemented linux_sys_lookup_dcookie)", /* 253 = unimplemented linux_sys_lookup_dcookie */
"#254 (unimplemented linux_sys_epoll_create)", /* 254 = unimplemented linux_sys_epoll_create */
"#255 (unimplemented linux_sys_epoll_ctl)", /* 255 = unimplemented linux_sys_epoll_ctl */
diff --git a/sys/compat/linux/linux_sysent.c b/sys/compat/linux/linux_sysent.c
index d46a53efc85..464f3dab02d 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.43 2003/08/14 18:35:57 fgsch Exp $ */
+/* $OpenBSD: linux_sysent.c,v 1.44 2003/08/14 18:50:50 fgsch Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.41 2003/08/14 18:34:15 fgsch Exp
+ * created from OpenBSD: syscalls.master,v 1.42 2003/08/14 18:50:13 fgsch Exp
*/
#include <sys/param.h>
@@ -545,8 +545,8 @@ struct sysent linux_sysent[] = {
sys_nosys }, /* 250 = unimplemented linux_sys_fadvise64 */
{ 0, 0,
sys_nosys }, /* 251 = unimplemented */
- { 1, s(struct sys_exit_args),
- sys_exit }, /* 252 = exit */
+ { 1, s(struct linux_sys_exit_group_args),
+ linux_sys_exit_group }, /* 252 = exit_group */
{ 0, 0,
sys_nosys }, /* 253 = unimplemented linux_sys_lookup_dcookie */
{ 0, 0,