diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2002-03-14 00:44:21 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2002-03-14 00:44:21 +0000 |
commit | 23f1eb80011a08ad6a6ea4f200e3a7d86c78ae1d (patch) | |
tree | 8b4e8efa5cc44875877208842538b99cd651e5c3 | |
parent | 4e75a2f3d47fcb4101ad6c63743e4262538a944a (diff) |
Regen after syscall changes (option PTRACE)
28 files changed, 140 insertions, 56 deletions
diff --git a/sys/compat/bsdos/bsdos_syscall.h b/sys/compat/bsdos/bsdos_syscall.h index dbdedfa4390..ea2e6d27df4 100644 --- a/sys/compat/bsdos/bsdos_syscall.h +++ b/sys/compat/bsdos/bsdos_syscall.h @@ -1,10 +1,10 @@ -/* $OpenBSD: bsdos_syscall.h,v 1.9 2001/08/26 04:14:26 deraadt Exp $ */ +/* $OpenBSD: bsdos_syscall.h,v 1.10 2002/03/14 00:44:20 miod Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.8 2001/05/16 17:14:37 millert Exp + * created from OpenBSD: syscalls.master,v 1.9 2002/03/14 00:42:24 miod Exp */ /* syscall: "syscall" ret: "int" args: */ diff --git a/sys/compat/bsdos/bsdos_syscallargs.h b/sys/compat/bsdos/bsdos_syscallargs.h index 9956651c44e..9b5e9f08f17 100644 --- a/sys/compat/bsdos/bsdos_syscallargs.h +++ b/sys/compat/bsdos/bsdos_syscallargs.h @@ -1,10 +1,10 @@ -/* $OpenBSD: bsdos_syscallargs.h,v 1.9 2001/08/26 04:14:26 deraadt Exp $ */ +/* $OpenBSD: bsdos_syscallargs.h,v 1.10 2002/03/14 00:44:20 miod Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.8 2001/05/16 17:14:37 millert Exp + * created from OpenBSD: syscalls.master,v 1.9 2002/03/14 00:42:24 miod Exp */ #ifdef syscallarg @@ -58,7 +58,10 @@ int sys_unmount __P((struct proc *, void *, register_t *)); int sys_setuid __P((struct proc *, void *, register_t *)); int sys_getuid __P((struct proc *, void *, register_t *)); int sys_geteuid __P((struct proc *, void *, register_t *)); +#ifdef PTRACE int sys_ptrace __P((struct proc *, void *, register_t *)); +#else +#endif int sys_recvmsg __P((struct proc *, void *, register_t *)); int sys_sendmsg __P((struct proc *, void *, register_t *)); int sys_recvfrom __P((struct proc *, void *, register_t *)); diff --git a/sys/compat/bsdos/bsdos_syscalls.c b/sys/compat/bsdos/bsdos_syscalls.c index 3e76e88719f..d9cd3027d54 100644 --- a/sys/compat/bsdos/bsdos_syscalls.c +++ b/sys/compat/bsdos/bsdos_syscalls.c @@ -1,10 +1,10 @@ -/* $OpenBSD: bsdos_syscalls.c,v 1.9 2001/08/26 04:14:26 deraadt Exp $ */ +/* $OpenBSD: bsdos_syscalls.c,v 1.10 2002/03/14 00:44:20 miod Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.8 2001/05/16 17:14:37 millert Exp + * created from OpenBSD: syscalls.master,v 1.9 2002/03/14 00:42:24 miod Exp */ char *bsdos_syscallnames[] = { @@ -34,7 +34,11 @@ char *bsdos_syscallnames[] = { "setuid", /* 23 = setuid */ "getuid", /* 24 = getuid */ "geteuid", /* 25 = geteuid */ +#ifdef PTRACE "ptrace", /* 26 = ptrace */ +#else + "#26 (unimplemented ptrace)", /* 26 = unimplemented ptrace */ +#endif "recvmsg", /* 27 = recvmsg */ "sendmsg", /* 28 = sendmsg */ "recvfrom", /* 29 = recvfrom */ diff --git a/sys/compat/bsdos/bsdos_sysent.c b/sys/compat/bsdos/bsdos_sysent.c index 213e2b420b2..17be552aea9 100644 --- a/sys/compat/bsdos/bsdos_sysent.c +++ b/sys/compat/bsdos/bsdos_sysent.c @@ -1,10 +1,10 @@ -/* $OpenBSD: bsdos_sysent.c,v 1.9 2001/08/26 04:14:26 deraadt Exp $ */ +/* $OpenBSD: bsdos_sysent.c,v 1.10 2002/03/14 00:44:20 miod Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.8 2001/05/16 17:14:37 millert Exp + * created from OpenBSD: syscalls.master,v 1.9 2002/03/14 00:42:24 miod Exp */ #include <sys/param.h> @@ -69,8 +69,13 @@ struct sysent bsdos_sysent[] = { sys_getuid }, /* 24 = getuid */ { 0, 0, sys_geteuid }, /* 25 = geteuid */ +#ifdef PTRACE { 4, s(struct sys_ptrace_args), sys_ptrace }, /* 26 = ptrace */ +#else + { 0, 0, + sys_nosys }, /* 26 = unimplemented ptrace */ +#endif { 3, s(struct sys_recvmsg_args), sys_recvmsg }, /* 27 = recvmsg */ { 3, s(struct sys_sendmsg_args), diff --git a/sys/compat/freebsd/freebsd_syscall.h b/sys/compat/freebsd/freebsd_syscall.h index 221c2a0ea18..706dc8cbd64 100644 --- a/sys/compat/freebsd/freebsd_syscall.h +++ b/sys/compat/freebsd/freebsd_syscall.h @@ -1,10 +1,10 @@ -/* $OpenBSD: freebsd_syscall.h,v 1.17 2001/11/27 19:35:26 maja Exp $ */ +/* $OpenBSD: freebsd_syscall.h,v 1.18 2002/03/14 00:44:20 miod Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.16 2001/11/27 19:34:20 maja Exp + * created from OpenBSD: syscalls.master,v 1.17 2002/03/14 00:42:25 miod Exp */ /* syscall: "syscall" ret: "int" args: */ diff --git a/sys/compat/freebsd/freebsd_syscallargs.h b/sys/compat/freebsd/freebsd_syscallargs.h index 1aee323deea..8b01d85a7c6 100644 --- a/sys/compat/freebsd/freebsd_syscallargs.h +++ b/sys/compat/freebsd/freebsd_syscallargs.h @@ -1,10 +1,10 @@ -/* $OpenBSD: freebsd_syscallargs.h,v 1.18 2001/11/27 19:35:26 maja Exp $ */ +/* $OpenBSD: freebsd_syscallargs.h,v 1.19 2002/03/14 00:44:20 miod Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.16 2001/11/27 19:34:20 maja Exp + * created from OpenBSD: syscalls.master,v 1.17 2002/03/14 00:42:25 miod Exp */ #ifdef syscallarg @@ -285,7 +285,10 @@ int freebsd_sys_unmount __P((struct proc *, void *, register_t *)); int sys_setuid __P((struct proc *, void *, register_t *)); int sys_getuid __P((struct proc *, void *, register_t *)); int sys_geteuid __P((struct proc *, void *, register_t *)); +#ifdef PTRACE int freebsd_sys_ptrace __P((struct proc *, void *, register_t *)); +#else +#endif int sys_recvmsg __P((struct proc *, void *, register_t *)); int sys_sendmsg __P((struct proc *, void *, register_t *)); int sys_recvfrom __P((struct proc *, void *, register_t *)); diff --git a/sys/compat/freebsd/freebsd_syscalls.c b/sys/compat/freebsd/freebsd_syscalls.c index 0ba281e452e..6985fb8da87 100644 --- a/sys/compat/freebsd/freebsd_syscalls.c +++ b/sys/compat/freebsd/freebsd_syscalls.c @@ -1,10 +1,10 @@ -/* $OpenBSD: freebsd_syscalls.c,v 1.17 2001/11/27 19:35:26 maja Exp $ */ +/* $OpenBSD: freebsd_syscalls.c,v 1.18 2002/03/14 00:44:20 miod Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.16 2001/11/27 19:34:20 maja Exp + * created from OpenBSD: syscalls.master,v 1.17 2002/03/14 00:42:25 miod Exp */ char *freebsd_syscallnames[] = { @@ -34,7 +34,11 @@ char *freebsd_syscallnames[] = { "setuid", /* 23 = setuid */ "getuid", /* 24 = getuid */ "geteuid", /* 25 = geteuid */ +#ifdef PTRACE "ptrace", /* 26 = ptrace */ +#else + "#26 (unimplemented ptrace)", /* 26 = unimplemented ptrace */ +#endif "recvmsg", /* 27 = recvmsg */ "sendmsg", /* 28 = sendmsg */ "recvfrom", /* 29 = recvfrom */ diff --git a/sys/compat/freebsd/freebsd_sysent.c b/sys/compat/freebsd/freebsd_sysent.c index 96a57a62c90..9635815797e 100644 --- a/sys/compat/freebsd/freebsd_sysent.c +++ b/sys/compat/freebsd/freebsd_sysent.c @@ -1,10 +1,10 @@ -/* $OpenBSD: freebsd_sysent.c,v 1.18 2001/11/27 19:35:26 maja Exp $ */ +/* $OpenBSD: freebsd_sysent.c,v 1.19 2002/03/14 00:44:20 miod Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.16 2001/11/27 19:34:20 maja Exp + * created from OpenBSD: syscalls.master,v 1.17 2002/03/14 00:42:25 miod Exp */ #include <sys/param.h> @@ -71,8 +71,13 @@ struct sysent freebsd_sysent[] = { sys_getuid }, /* 24 = getuid */ { 0, 0, sys_geteuid }, /* 25 = geteuid */ +#ifdef PTRACE { 4, s(struct freebsd_sys_ptrace_args), freebsd_sys_ptrace }, /* 26 = ptrace */ +#else + { 0, 0, + sys_nosys }, /* 26 = unimplemented ptrace */ +#endif { 3, s(struct sys_recvmsg_args), sys_recvmsg }, /* 27 = recvmsg */ { 3, s(struct sys_sendmsg_args), diff --git a/sys/compat/hpux/hpux_syscall.h b/sys/compat/hpux/hpux_syscall.h index b06831e2577..8164d5d810b 100644 --- a/sys/compat/hpux/hpux_syscall.h +++ b/sys/compat/hpux/hpux_syscall.h @@ -1,10 +1,10 @@ -/* $OpenBSD: hpux_syscall.h,v 1.8 2001/10/10 23:44:26 art Exp $ */ +/* $OpenBSD: hpux_syscall.h,v 1.9 2002/03/14 00:44:20 miod Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.7 2001/10/10 23:43:44 art Exp + * created from OpenBSD: syscalls.master,v 1.8 2002/03/14 00:42:25 miod Exp */ /* syscall: "syscall" ret: "int" args: */ diff --git a/sys/compat/hpux/hpux_syscallargs.h b/sys/compat/hpux/hpux_syscallargs.h index b281aca20e3..671fda93799 100644 --- a/sys/compat/hpux/hpux_syscallargs.h +++ b/sys/compat/hpux/hpux_syscallargs.h @@ -1,10 +1,10 @@ -/* $OpenBSD: hpux_syscallargs.h,v 1.9 2001/10/10 23:44:26 art Exp $ */ +/* $OpenBSD: hpux_syscallargs.h,v 1.10 2002/03/14 00:44:20 miod Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.7 2001/10/10 23:43:44 art Exp + * created from OpenBSD: syscalls.master,v 1.8 2002/03/14 00:42:25 miod Exp */ #ifdef syscallarg @@ -418,7 +418,10 @@ int sys_getpid __P((struct proc *, void *, register_t *)); int sys_setuid __P((struct proc *, void *, register_t *)); int sys_getuid __P((struct proc *, void *, register_t *)); int hpux_sys_stime_6x __P((struct proc *, void *, register_t *)); +#ifdef PTRACE int hpux_sys_ptrace __P((struct proc *, void *, register_t *)); +#else +#endif int hpux_sys_alarm_6x __P((struct proc *, void *, register_t *)); int hpux_sys_fstat_6x __P((struct proc *, void *, register_t *)); int hpux_sys_pause_6x __P((struct proc *, void *, register_t *)); diff --git a/sys/compat/hpux/hpux_syscalls.c b/sys/compat/hpux/hpux_syscalls.c index 7a75a8dfea3..dec29d52ee0 100644 --- a/sys/compat/hpux/hpux_syscalls.c +++ b/sys/compat/hpux/hpux_syscalls.c @@ -1,10 +1,10 @@ -/* $OpenBSD: hpux_syscalls.c,v 1.8 2001/10/10 23:44:26 art Exp $ */ +/* $OpenBSD: hpux_syscalls.c,v 1.9 2002/03/14 00:44:20 miod Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.7 2001/10/10 23:43:44 art Exp + * created from OpenBSD: syscalls.master,v 1.8 2002/03/14 00:42:25 miod Exp */ char *hpux_syscallnames[] = { @@ -34,7 +34,11 @@ char *hpux_syscallnames[] = { "setuid", /* 23 = setuid */ "getuid", /* 24 = getuid */ "stime_6x", /* 25 = stime_6x */ +#ifdef PTRACE "ptrace", /* 26 = ptrace */ +#else + "#26 (unimplemented ptrace)", /* 26 = unimplemented ptrace */ +#endif "alarm_6x", /* 27 = alarm_6x */ "fstat_6x", /* 28 = fstat_6x */ "pause_6x", /* 29 = pause_6x */ diff --git a/sys/compat/hpux/hpux_sysent.c b/sys/compat/hpux/hpux_sysent.c index 3af496be153..d756f387d3d 100644 --- a/sys/compat/hpux/hpux_sysent.c +++ b/sys/compat/hpux/hpux_sysent.c @@ -1,10 +1,10 @@ -/* $OpenBSD: hpux_sysent.c,v 1.9 2001/10/10 23:44:26 art Exp $ */ +/* $OpenBSD: hpux_sysent.c,v 1.10 2002/03/14 00:44:20 miod Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.7 2001/10/10 23:43:44 art Exp + * created from OpenBSD: syscalls.master,v 1.8 2002/03/14 00:42:25 miod Exp */ #include <sys/param.h> @@ -72,8 +72,13 @@ struct sysent hpux_sysent[] = { sys_getuid }, /* 24 = getuid */ { 1, s(struct hpux_sys_stime_6x_args), hpux_sys_stime_6x }, /* 25 = stime_6x */ +#ifdef PTRACE { 4, s(struct hpux_sys_ptrace_args), hpux_sys_ptrace }, /* 26 = ptrace */ +#else + { 0, 0, + sys_nosys }, /* 26 = unimplemented ptrace */ +#endif { 1, s(struct hpux_sys_alarm_6x_args), hpux_sys_alarm_6x }, /* 27 = alarm_6x */ { 2, s(struct hpux_sys_fstat_6x_args), diff --git a/sys/compat/linux/linux_syscall.h b/sys/compat/linux/linux_syscall.h index 1d4d3840560..b567c016415 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.33 2002/02/04 20:06:16 provos Exp $ */ +/* $OpenBSD: linux_syscall.h,v 1.34 2002/03/14 00:44:20 miod Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.32 2002/02/04 20:04:52 provos Exp + * created from OpenBSD: syscalls.master,v 1.33 2002/03/14 00:42:25 miod Exp */ /* syscall: "syscall" ret: "int" args: */ diff --git a/sys/compat/linux/linux_syscallargs.h b/sys/compat/linux/linux_syscallargs.h index 53b00bd1a3e..42438b81615 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.34 2002/02/04 20:06:16 provos Exp $ */ +/* $OpenBSD: linux_syscallargs.h,v 1.35 2002/03/14 00:44:20 miod Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.32 2002/02/04 20:04:52 provos Exp + * created from OpenBSD: syscalls.master,v 1.33 2002/03/14 00:42:25 miod Exp */ #ifdef syscallarg @@ -553,7 +553,10 @@ int linux_sys_umount __P((struct proc *, void *, register_t *)); int sys_setuid __P((struct proc *, void *, register_t *)); int sys_getuid __P((struct proc *, void *, register_t *)); int linux_sys_stime __P((struct proc *, void *, register_t *)); +#ifdef PTRACE int linux_sys_ptrace __P((struct proc *, void *, register_t *)); +#else +#endif int linux_sys_alarm __P((struct proc *, void *, register_t *)); int linux_sys_ofstat __P((struct proc *, void *, register_t *)); int linux_sys_pause __P((struct proc *, void *, register_t *)); diff --git a/sys/compat/linux/linux_syscalls.c b/sys/compat/linux/linux_syscalls.c index 17cc8bee84c..00a090d3b35 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.33 2002/02/04 20:06:16 provos Exp $ */ +/* $OpenBSD: linux_syscalls.c,v 1.34 2002/03/14 00:44:20 miod Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.32 2002/02/04 20:04:52 provos Exp + * created from OpenBSD: syscalls.master,v 1.33 2002/03/14 00:42:25 miod Exp */ char *linux_syscallnames[] = { @@ -34,7 +34,11 @@ char *linux_syscallnames[] = { "linux_setuid16", /* 23 = linux_setuid16 */ "linux_getuid16", /* 24 = linux_getuid16 */ "stime", /* 25 = stime */ +#ifdef PTRACE "ptrace", /* 26 = ptrace */ +#else + "#26 (unimplemented ptrace)", /* 26 = unimplemented ptrace */ +#endif "alarm", /* 27 = alarm */ "ofstat", /* 28 = ofstat */ "pause", /* 29 = pause */ diff --git a/sys/compat/linux/linux_sysent.c b/sys/compat/linux/linux_sysent.c index 3867d92625a..2875f99c9bd 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.34 2002/02/04 20:06:16 provos Exp $ */ +/* $OpenBSD: linux_sysent.c,v 1.35 2002/03/14 00:44:20 miod Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.32 2002/02/04 20:04:52 provos Exp + * created from OpenBSD: syscalls.master,v 1.33 2002/03/14 00:42:25 miod Exp */ #include <sys/param.h> @@ -72,8 +72,13 @@ struct sysent linux_sysent[] = { sys_getuid }, /* 24 = linux_getuid16 */ { 1, s(struct linux_sys_stime_args), linux_sys_stime }, /* 25 = stime */ +#ifdef PTRACE { 0, 0, linux_sys_ptrace }, /* 26 = ptrace */ +#else + { 0, 0, + sys_nosys }, /* 26 = unimplemented ptrace */ +#endif { 1, s(struct linux_sys_alarm_args), linux_sys_alarm }, /* 27 = alarm */ { 0, 0, diff --git a/sys/compat/netbsd/netbsd_syscall.h b/sys/compat/netbsd/netbsd_syscall.h index 3a8d18fbf62..7546c4d1389 100644 --- a/sys/compat/netbsd/netbsd_syscall.h +++ b/sys/compat/netbsd/netbsd_syscall.h @@ -1,10 +1,10 @@ -/* $OpenBSD: netbsd_syscall.h,v 1.16 2001/09/21 15:32:43 art Exp $ */ +/* $OpenBSD: netbsd_syscall.h,v 1.17 2002/03/14 00:44:20 miod Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.15 2001/09/21 15:31:59 art Exp + * created from; OpenBSD: syscalls.master,v 1.16 2002/03/14 00:42:25 miod Exp */ /* syscall: "syscall" ret: "int" args: "int" "..." */ diff --git a/sys/compat/netbsd/netbsd_syscallargs.h b/sys/compat/netbsd/netbsd_syscallargs.h index 821d874dd0c..41e11c0ec17 100644 --- a/sys/compat/netbsd/netbsd_syscallargs.h +++ b/sys/compat/netbsd/netbsd_syscallargs.h @@ -1,10 +1,10 @@ -/* $OpenBSD: netbsd_syscallargs.h,v 1.16 2001/09/21 15:32:43 art Exp $ */ +/* $OpenBSD: netbsd_syscallargs.h,v 1.17 2002/03/14 00:44:20 miod Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.15 2001/09/21 15:31:59 art Exp + * created from; OpenBSD: syscalls.master,v 1.16 2002/03/14 00:42:25 miod Exp */ #ifdef syscallarg @@ -256,7 +256,10 @@ int netbsd_sys_unmount __P((struct proc *, void *, register_t *)); int sys_setuid __P((struct proc *, void *, register_t *)); int sys_getuid __P((struct proc *, void *, register_t *)); int sys_geteuid __P((struct proc *, void *, register_t *)); +#ifdef PTRACE int sys_ptrace __P((struct proc *, void *, register_t *)); +#else +#endif int sys_recvmsg __P((struct proc *, void *, register_t *)); int sys_sendmsg __P((struct proc *, void *, register_t *)); int sys_recvfrom __P((struct proc *, void *, register_t *)); diff --git a/sys/compat/netbsd/netbsd_syscalls.c b/sys/compat/netbsd/netbsd_syscalls.c index 42d53c0a5ef..9b966bd5f6b 100644 --- a/sys/compat/netbsd/netbsd_syscalls.c +++ b/sys/compat/netbsd/netbsd_syscalls.c @@ -1,10 +1,10 @@ -/* $OpenBSD: netbsd_syscalls.c,v 1.16 2001/09/21 15:32:43 art Exp $ */ +/* $OpenBSD: netbsd_syscalls.c,v 1.17 2002/03/14 00:44:20 miod Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.15 2001/09/21 15:31:59 art Exp + * created from; OpenBSD: syscalls.master,v 1.16 2002/03/14 00:42:25 miod Exp */ char *netbsd_syscallnames[] = { @@ -34,7 +34,11 @@ char *netbsd_syscallnames[] = { "setuid", /* 23 = setuid */ "getuid", /* 24 = getuid */ "geteuid", /* 25 = geteuid */ +#ifdef PTRACE "ptrace", /* 26 = ptrace */ +#else + "#26 (unimplemented ptrace)", /* 26 = unimplemented ptrace */ +#endif "recvmsg", /* 27 = recvmsg */ "sendmsg", /* 28 = sendmsg */ "recvfrom", /* 29 = recvfrom */ diff --git a/sys/compat/netbsd/netbsd_sysent.c b/sys/compat/netbsd/netbsd_sysent.c index 55002856c06..553e10fb054 100644 --- a/sys/compat/netbsd/netbsd_sysent.c +++ b/sys/compat/netbsd/netbsd_sysent.c @@ -1,10 +1,10 @@ -/* $OpenBSD: netbsd_sysent.c,v 1.16 2001/09/21 15:32:43 art Exp $ */ +/* $OpenBSD: netbsd_sysent.c,v 1.17 2002/03/14 00:44:20 miod Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.15 2001/09/21 15:31:59 art Exp + * created from; OpenBSD: syscalls.master,v 1.16 2002/03/14 00:42:25 miod Exp */ #include <sys/param.h> @@ -74,8 +74,13 @@ struct sysent netbsd_sysent[] = { sys_getuid }, /* 24 = getuid */ { 0, 0, sys_geteuid }, /* 25 = geteuid */ +#ifdef PTRACE { 4, s(struct sys_ptrace_args), sys_ptrace }, /* 26 = ptrace */ +#else + { 0, 0, + sys_nosys }, /* 26 = unimplemented ptrace */ +#endif { 3, s(struct sys_recvmsg_args), sys_recvmsg }, /* 27 = recvmsg */ { 3, s(struct sys_sendmsg_args), diff --git a/sys/compat/sunos/sunos_syscall.h b/sys/compat/sunos/sunos_syscall.h index a8b7d028980..80eecfa6005 100644 --- a/sys/compat/sunos/sunos_syscall.h +++ b/sys/compat/sunos/sunos_syscall.h @@ -1,10 +1,10 @@ -/* $OpenBSD: sunos_syscall.h,v 1.13 2001/08/26 04:14:27 deraadt Exp $ */ +/* $OpenBSD: sunos_syscall.h,v 1.14 2002/03/14 00:44:20 miod Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.11 1999/06/07 07:17:48 deraadt Exp + * created from OpenBSD: syscalls.master,v 1.12 2002/03/14 00:42:25 miod Exp */ /* syscall: "syscall" ret: "int" args: */ diff --git a/sys/compat/sunos/sunos_syscallargs.h b/sys/compat/sunos/sunos_syscallargs.h index fcd0304a28e..552425b2b04 100644 --- a/sys/compat/sunos/sunos_syscallargs.h +++ b/sys/compat/sunos/sunos_syscallargs.h @@ -1,10 +1,10 @@ -/* $OpenBSD: sunos_syscallargs.h,v 1.13 2001/08/26 04:14:27 deraadt Exp $ */ +/* $OpenBSD: sunos_syscallargs.h,v 1.14 2002/03/14 00:44:20 miod Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.11 1999/06/07 07:17:48 deraadt Exp + * created from OpenBSD: syscalls.master,v 1.12 2002/03/14 00:42:25 miod Exp */ #ifdef syscallarg @@ -249,7 +249,10 @@ int sys_getpid __P((struct proc *, void *, register_t *)); int sys_setuid __P((struct proc *, void *, register_t *)); int sys_getuid __P((struct proc *, void *, register_t *)); int sunos_sys_ostime __P((struct proc *, void *, register_t *)); +#ifdef PTRACE int sunos_sys_ptrace __P((struct proc *, void *, register_t *)); +#else +#endif int sunos_sys_access __P((struct proc *, void *, register_t *)); int sys_sync __P((struct proc *, void *, register_t *)); int sys_kill __P((struct proc *, void *, register_t *)); diff --git a/sys/compat/sunos/sunos_syscalls.c b/sys/compat/sunos/sunos_syscalls.c index 004873c190b..98c6011470a 100644 --- a/sys/compat/sunos/sunos_syscalls.c +++ b/sys/compat/sunos/sunos_syscalls.c @@ -1,10 +1,10 @@ -/* $OpenBSD: sunos_syscalls.c,v 1.13 2001/08/26 04:14:27 deraadt Exp $ */ +/* $OpenBSD: sunos_syscalls.c,v 1.14 2002/03/14 00:44:20 miod Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.11 1999/06/07 07:17:48 deraadt Exp + * created from OpenBSD: syscalls.master,v 1.12 2002/03/14 00:42:25 miod Exp */ char *sunos_syscallnames[] = { @@ -34,7 +34,11 @@ char *sunos_syscallnames[] = { "setuid", /* 23 = setuid */ "getuid", /* 24 = getuid */ "ostime", /* 25 = ostime */ +#ifdef PTRACE "ptrace", /* 26 = ptrace */ +#else + "#26 (unimplemented sunos_ptrace)", /* 26 = unimplemented sunos_ptrace */ +#endif "#27 (unimplemented sunos_alarm)", /* 27 = unimplemented sunos_alarm */ "#28 (unimplemented sunos_fstat)", /* 28 = unimplemented sunos_fstat */ "#29 (unimplemented sunos_pause)", /* 29 = unimplemented sunos_pause */ diff --git a/sys/compat/sunos/sunos_sysent.c b/sys/compat/sunos/sunos_sysent.c index 92175d5f60e..f0360b8d367 100644 --- a/sys/compat/sunos/sunos_sysent.c +++ b/sys/compat/sunos/sunos_sysent.c @@ -1,10 +1,10 @@ -/* $OpenBSD: sunos_sysent.c,v 1.13 2001/08/26 04:14:27 deraadt Exp $ */ +/* $OpenBSD: sunos_sysent.c,v 1.14 2002/03/14 00:44:20 miod Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.11 1999/06/07 07:17:48 deraadt Exp + * created from OpenBSD: syscalls.master,v 1.12 2002/03/14 00:42:25 miod Exp */ #include <sys/param.h> @@ -71,8 +71,13 @@ struct sysent sunos_sysent[] = { sys_getuid }, /* 24 = getuid */ { 1, s(struct sunos_sys_ostime_args), sunos_sys_ostime }, /* 25 = ostime */ +#ifdef PTRACE { 5, s(struct sunos_sys_ptrace_args), sunos_sys_ptrace }, /* 26 = ptrace */ +#else + { 0, 0, + sys_nosys }, /* 26 = unimplemented sunos_ptrace */ +#endif { 0, 0, sys_nosys }, /* 27 = unimplemented sunos_alarm */ { 0, 0, diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index b6bbe518fd2..fc74337c149 100644 --- a/sys/kern/init_sysent.c +++ b/sys/kern/init_sysent.c @@ -1,10 +1,10 @@ -/* $OpenBSD: init_sysent.c,v 1.55 2002/02/22 20:55:28 drahn Exp $ */ +/* $OpenBSD: init_sysent.c,v 1.56 2002/03/14 00:44:16 miod Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.48 2002/02/22 20:37:45 drahn Exp + * created from; OpenBSD: syscalls.master,v 1.49 2002/03/14 00:42:25 miod Exp */ #include <sys/param.h> @@ -99,8 +99,13 @@ struct sysent sysent[] = { sys_getuid }, /* 24 = getuid */ { 0, 0, sys_geteuid }, /* 25 = geteuid */ +#ifdef PTRACE { 4, s(struct sys_ptrace_args), sys_ptrace }, /* 26 = ptrace */ +#else + { 0, 0, + sys_nosys }, /* 26 = unimplemented ptrace */ +#endif { 3, s(struct sys_recvmsg_args), sys_recvmsg }, /* 27 = recvmsg */ { 3, s(struct sys_sendmsg_args), diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c index 3cc4cb17b3c..e7a5c686ab2 100644 --- a/sys/kern/syscalls.c +++ b/sys/kern/syscalls.c @@ -1,10 +1,10 @@ -/* $OpenBSD: syscalls.c,v 1.55 2002/02/22 20:55:28 drahn Exp $ */ +/* $OpenBSD: syscalls.c,v 1.56 2002/03/14 00:44:16 miod Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.48 2002/02/22 20:37:45 drahn Exp + * created from; OpenBSD: syscalls.master,v 1.49 2002/03/14 00:42:25 miod Exp */ char *syscallnames[] = { @@ -34,7 +34,11 @@ char *syscallnames[] = { "setuid", /* 23 = setuid */ "getuid", /* 24 = getuid */ "geteuid", /* 25 = geteuid */ +#ifdef PTRACE "ptrace", /* 26 = ptrace */ +#else + "#26 (unimplemented ptrace)", /* 26 = unimplemented ptrace */ +#endif "recvmsg", /* 27 = recvmsg */ "sendmsg", /* 28 = sendmsg */ "recvfrom", /* 29 = recvfrom */ diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h index 204569fff6a..4e200aeb7e5 100644 --- a/sys/sys/syscall.h +++ b/sys/sys/syscall.h @@ -1,10 +1,10 @@ -/* $OpenBSD: syscall.h,v 1.54 2002/02/22 20:55:28 drahn Exp $ */ +/* $OpenBSD: syscall.h,v 1.55 2002/03/14 00:44:20 miod Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.48 2002/02/22 20:37:45 drahn Exp + * created from; OpenBSD: syscalls.master,v 1.49 2002/03/14 00:42:25 miod Exp */ /* syscall: "syscall" ret: "int" args: "int" "..." */ diff --git a/sys/sys/syscallargs.h b/sys/sys/syscallargs.h index 60bd4fbf186..08ce859ed34 100644 --- a/sys/sys/syscallargs.h +++ b/sys/sys/syscallargs.h @@ -1,10 +1,10 @@ -/* $OpenBSD: syscallargs.h,v 1.55 2002/02/22 20:55:28 drahn Exp $ */ +/* $OpenBSD: syscallargs.h,v 1.56 2002/03/14 00:44:20 miod Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.48 2002/02/22 20:37:45 drahn Exp + * created from; OpenBSD: syscalls.master,v 1.49 2002/03/14 00:42:25 miod Exp */ #ifdef syscallarg @@ -1215,7 +1215,10 @@ int sys_unmount __P((struct proc *, void *, register_t *)); int sys_setuid __P((struct proc *, void *, register_t *)); int sys_getuid __P((struct proc *, void *, register_t *)); int sys_geteuid __P((struct proc *, void *, register_t *)); +#ifdef PTRACE int sys_ptrace __P((struct proc *, void *, register_t *)); +#else +#endif int sys_recvmsg __P((struct proc *, void *, register_t *)); int sys_sendmsg __P((struct proc *, void *, register_t *)); int sys_recvfrom __P((struct proc *, void *, register_t *)); |