summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2003-08-14 18:35:58 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2003-08-14 18:35:58 +0000
commitd11ed6a540c11d39d9e2e1ae0d35cac11e13ff27 (patch)
treee0d906e27c66b16dfb2770015673176babdc2000
parentc4438dd937c90288286bfbf9bad33968b808575d (diff)
regen.
-rw-r--r--sys/compat/linux/linux_syscall.h9
-rw-r--r--sys/compat/linux/linux_syscallargs.h5
-rw-r--r--sys/compat/linux/linux_syscalls.c50
-rw-r--r--sys/compat/linux/linux_sysent.c96
4 files changed, 151 insertions, 9 deletions
diff --git a/sys/compat/linux/linux_syscall.h b/sys/compat/linux/linux_syscall.h
index 5e5c70dc414..8622148d24d 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.41 2003/08/02 18:37:11 deraadt Exp $ */
+/* $OpenBSD: linux_syscall.h,v 1.42 2003/08/14 18:35:57 fgsch Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.40 2003/08/02 18:37:06 deraadt Exp
+ * created from OpenBSD: syscalls.master,v 1.41 2003/08/14 18:34:15 fgsch Exp
*/
/* syscall: "syscall" ret: "int" args: */
@@ -682,4 +682,7 @@
/* syscall: "fcntl64" ret: "int" args: "u_int" "u_int" "void *" */
#define LINUX_SYS_fcntl64 221
-#define LINUX_SYS_MAXSYSCALL 222
+/* syscall: "exit" ret: "int" args: "int" */
+#define LINUX_SYS_exit 252
+
+#define LINUX_SYS_MAXSYSCALL 268
diff --git a/sys/compat/linux/linux_syscallargs.h b/sys/compat/linux/linux_syscallargs.h
index 26176284781..0d3d1f33d64 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.43 2003/08/02 18:37:11 deraadt Exp $ */
+/* $OpenBSD: linux_syscallargs.h,v 1.44 2003/08/14 18:35:57 fgsch Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.40 2003/08/02 18:37:06 deraadt Exp
+ * created from OpenBSD: syscalls.master,v 1.41 2003/08/14 18:34:15 fgsch Exp
*/
#ifdef syscallarg
@@ -788,3 +788,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 *);
diff --git a/sys/compat/linux/linux_syscalls.c b/sys/compat/linux/linux_syscalls.c
index b4972f5897d..02d05a877fc 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.41 2003/08/02 18:37:11 deraadt Exp $ */
+/* $OpenBSD: linux_syscalls.c,v 1.42 2003/08/14 18:35:57 fgsch Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.40 2003/08/02 18:37:06 deraadt Exp
+ * created from OpenBSD: syscalls.master,v 1.41 2003/08/14 18:34:15 fgsch Exp
*/
char *linux_syscallnames[] = {
@@ -246,4 +246,50 @@ char *linux_syscallnames[] = {
"madvise", /* 219 = madvise */
"getdents64", /* 220 = getdents64 */
"fcntl64", /* 221 = fcntl64 */
+ "#222 (unimplemented)", /* 222 = unimplemented */
+ "#223 (unimplemented)", /* 223 = unimplemented */
+ "#224 (unimplemented linux_sys_gettid)", /* 224 = unimplemented linux_sys_gettid */
+ "#225 (unimplemented linux_sys_readahead)", /* 225 = unimplemented linux_sys_readahead */
+ "#226 (unimplemented linux_sys_setxattr)", /* 226 = unimplemented linux_sys_setxattr */
+ "#227 (unimplemented linux_sys_lsetxattr)", /* 227 = unimplemented linux_sys_lsetxattr */
+ "#228 (unimplemented linux_sys_fsetxattr)", /* 228 = unimplemented linux_sys_fsetxattr */
+ "#229 (unimplemented linux_sys_getxattr)", /* 229 = unimplemented linux_sys_getxattr */
+ "#230 (unimplemented linux_sys_lgetxattr)", /* 230 = unimplemented linux_sys_lgetxattr */
+ "#231 (unimplemented linux_sys_fgetxattr)", /* 231 = unimplemented linux_sys_fgetxattr */
+ "#232 (unimplemented linux_sys_listxattr)", /* 232 = unimplemented linux_sys_listxattr */
+ "#233 (unimplemented linux_sys_llistxattr)", /* 233 = unimplemented linux_sys_llistxattr */
+ "#234 (unimplemented linux_sys_flistxattr)", /* 234 = unimplemented linux_sys_flistxattr */
+ "#235 (unimplemented linux_sys_removexattr)", /* 235 = unimplemented linux_sys_removexattr */
+ "#236 (unimplemented linux_sys_lremovexattr)", /* 236 = unimplemented linux_sys_lremovexattr */
+ "#237 (unimplemented linux_sys_fremovexattr)", /* 237 = unimplemented linux_sys_fremovexattr */
+ "#238 (unimplemented linux_sys_tkill)", /* 238 = unimplemented linux_sys_tkill */
+ "#239 (unimplemented linux_sys_sendfile64)", /* 239 = unimplemented linux_sys_sendfile64 */
+ "#240 (unimplemented linux_sys_futex)", /* 240 = unimplemented linux_sys_futex */
+ "#241 (unimplemented linux_sys_sched_setaffinity)", /* 241 = unimplemented linux_sys_sched_setaffinity */
+ "#242 (unimplemented linux_sys_sched_getaffinity)", /* 242 = unimplemented linux_sys_sched_getaffinity */
+ "#243 (unimplemented linux_sys_set_thread_area)", /* 243 = unimplemented linux_sys_set_thread_area */
+ "#244 (unimplemented linux_sys_get_thread_area)", /* 244 = unimplemented linux_sys_get_thread_area */
+ "#245 (unimplemented linux_sys_io_setup)", /* 245 = unimplemented linux_sys_io_setup */
+ "#246 (unimplemented linux_sys_io_destroy)", /* 246 = unimplemented linux_sys_io_destroy */
+ "#247 (unimplemented linux_sys_io_getevents)", /* 247 = unimplemented linux_sys_io_getevents */
+ "#248 (unimplemented linux_sys_io_submit)", /* 248 = unimplemented linux_sys_io_submit */
+ "#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 */
+ "#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 */
+ "#256 (unimplemented linux_sys_epoll_wait)", /* 256 = unimplemented linux_sys_epoll_wait */
+ "#257 (unimplemented linux_sys_remap_file_pages)", /* 257 = unimplemented linux_sys_remap_file_pages */
+ "#258 (unimplemented linux_sys_set_tid_address)", /* 258 = unimplemented linux_sys_set_tid_address */
+ "#259 (unimplemented linux_sys_timer_create)", /* 259 = unimplemented linux_sys_timer_create */
+ "#260 (unimplemented linux_sys_timer_settime)", /* 260 = unimplemented linux_sys_timer_settime */
+ "#261 (unimplemented linux_sys_timer_gettime)", /* 261 = unimplemented linux_sys_timer_gettime */
+ "#262 (unimplemented linux_sys_timer_getoverrun)", /* 262 = unimplemented linux_sys_timer_getoverrun */
+ "#263 (unimplemented linux_sys_timer_delete)", /* 263 = unimplemented linux_sys_timer_delete */
+ "#264 (unimplemented linux_sys_clock_settime)", /* 264 = unimplemented linux_sys_clock_settime */
+ "#265 (unimplemented linux_sys_clock_gettime)", /* 265 = unimplemented linux_sys_clock_gettime */
+ "#266 (unimplemented linux_sys_clock_getres)", /* 266 = unimplemented linux_sys_clock_getres */
+ "#267 (unimplemented linux_sys_clock_nanosleep)", /* 267 = unimplemented linux_sys_clock_nanosleep */
};
diff --git a/sys/compat/linux/linux_sysent.c b/sys/compat/linux/linux_sysent.c
index ac6fe734106..d46a53efc85 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.42 2003/08/02 18:37:11 deraadt Exp $ */
+/* $OpenBSD: linux_sysent.c,v 1.43 2003/08/14 18:35:57 fgsch Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.40 2003/08/02 18:37:06 deraadt Exp
+ * created from OpenBSD: syscalls.master,v 1.41 2003/08/14 18:34:15 fgsch Exp
*/
#include <sys/param.h>
@@ -485,5 +485,97 @@ struct sysent linux_sysent[] = {
linux_sys_getdents64 }, /* 220 = getdents64 */
{ 3, s(struct linux_sys_fcntl64_args),
linux_sys_fcntl64 }, /* 221 = fcntl64 */
+ { 0, 0,
+ sys_nosys }, /* 222 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 223 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 224 = unimplemented linux_sys_gettid */
+ { 0, 0,
+ sys_nosys }, /* 225 = unimplemented linux_sys_readahead */
+ { 0, 0,
+ sys_nosys }, /* 226 = unimplemented linux_sys_setxattr */
+ { 0, 0,
+ sys_nosys }, /* 227 = unimplemented linux_sys_lsetxattr */
+ { 0, 0,
+ sys_nosys }, /* 228 = unimplemented linux_sys_fsetxattr */
+ { 0, 0,
+ sys_nosys }, /* 229 = unimplemented linux_sys_getxattr */
+ { 0, 0,
+ sys_nosys }, /* 230 = unimplemented linux_sys_lgetxattr */
+ { 0, 0,
+ sys_nosys }, /* 231 = unimplemented linux_sys_fgetxattr */
+ { 0, 0,
+ sys_nosys }, /* 232 = unimplemented linux_sys_listxattr */
+ { 0, 0,
+ sys_nosys }, /* 233 = unimplemented linux_sys_llistxattr */
+ { 0, 0,
+ sys_nosys }, /* 234 = unimplemented linux_sys_flistxattr */
+ { 0, 0,
+ sys_nosys }, /* 235 = unimplemented linux_sys_removexattr */
+ { 0, 0,
+ sys_nosys }, /* 236 = unimplemented linux_sys_lremovexattr */
+ { 0, 0,
+ sys_nosys }, /* 237 = unimplemented linux_sys_fremovexattr */
+ { 0, 0,
+ sys_nosys }, /* 238 = unimplemented linux_sys_tkill */
+ { 0, 0,
+ sys_nosys }, /* 239 = unimplemented linux_sys_sendfile64 */
+ { 0, 0,
+ sys_nosys }, /* 240 = unimplemented linux_sys_futex */
+ { 0, 0,
+ sys_nosys }, /* 241 = unimplemented linux_sys_sched_setaffinity */
+ { 0, 0,
+ sys_nosys }, /* 242 = unimplemented linux_sys_sched_getaffinity */
+ { 0, 0,
+ sys_nosys }, /* 243 = unimplemented linux_sys_set_thread_area */
+ { 0, 0,
+ sys_nosys }, /* 244 = unimplemented linux_sys_get_thread_area */
+ { 0, 0,
+ sys_nosys }, /* 245 = unimplemented linux_sys_io_setup */
+ { 0, 0,
+ sys_nosys }, /* 246 = unimplemented linux_sys_io_destroy */
+ { 0, 0,
+ sys_nosys }, /* 247 = unimplemented linux_sys_io_getevents */
+ { 0, 0,
+ sys_nosys }, /* 248 = unimplemented linux_sys_io_submit */
+ { 0, 0,
+ sys_nosys }, /* 249 = unimplemented linux_sys_io_cancel */
+ { 0, 0,
+ sys_nosys }, /* 250 = unimplemented linux_sys_fadvise64 */
+ { 0, 0,
+ sys_nosys }, /* 251 = unimplemented */
+ { 1, s(struct sys_exit_args),
+ sys_exit }, /* 252 = exit */
+ { 0, 0,
+ sys_nosys }, /* 253 = unimplemented linux_sys_lookup_dcookie */
+ { 0, 0,
+ sys_nosys }, /* 254 = unimplemented linux_sys_epoll_create */
+ { 0, 0,
+ sys_nosys }, /* 255 = unimplemented linux_sys_epoll_ctl */
+ { 0, 0,
+ sys_nosys }, /* 256 = unimplemented linux_sys_epoll_wait */
+ { 0, 0,
+ sys_nosys }, /* 257 = unimplemented linux_sys_remap_file_pages */
+ { 0, 0,
+ sys_nosys }, /* 258 = unimplemented linux_sys_set_tid_address */
+ { 0, 0,
+ sys_nosys }, /* 259 = unimplemented linux_sys_timer_create */
+ { 0, 0,
+ sys_nosys }, /* 260 = unimplemented linux_sys_timer_settime */
+ { 0, 0,
+ sys_nosys }, /* 261 = unimplemented linux_sys_timer_gettime */
+ { 0, 0,
+ sys_nosys }, /* 262 = unimplemented linux_sys_timer_getoverrun */
+ { 0, 0,
+ sys_nosys }, /* 263 = unimplemented linux_sys_timer_delete */
+ { 0, 0,
+ sys_nosys }, /* 264 = unimplemented linux_sys_clock_settime */
+ { 0, 0,
+ sys_nosys }, /* 265 = unimplemented linux_sys_clock_gettime */
+ { 0, 0,
+ sys_nosys }, /* 266 = unimplemented linux_sys_clock_getres */
+ { 0, 0,
+ sys_nosys }, /* 267 = unimplemented linux_sys_clock_nanosleep */
};