summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2011-07-07 01:21:22 +0000
committertedu <tedu@openbsd.org>2011-07-07 01:21:22 +0000
commitcb280dbb36dc42e8196e23d3e9f7b62ea9f13484 (patch)
treee3d7f59b8b84a84c5e240b336bf69018f3f1a93b
parentRemove math(3). OK theo. (diff)
downloadwireguard-openbsd-cb280dbb36dc42e8196e23d3e9f7b62ea9f13484.tar.xz
wireguard-openbsd-cb280dbb36dc42e8196e23d3e9f7b62ea9f13484.zip
regen syscalls
-rw-r--r--sys/compat/linux/linux_syscall.h4
-rw-r--r--sys/compat/linux/linux_syscallargs.h28
-rw-r--r--sys/compat/linux/linux_syscalls.c4
-rw-r--r--sys/compat/linux/linux_sysent.c20
-rw-r--r--sys/kern/init_sysent.c128
-rw-r--r--sys/kern/syscalls.c70
-rw-r--r--sys/sys/syscall.h103
-rw-r--r--sys/sys/syscallargs.h197
8 files changed, 172 insertions, 382 deletions
diff --git a/sys/compat/linux/linux_syscall.h b/sys/compat/linux/linux_syscall.h
index b457aecd41b..83a7b54d902 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.58 2011/04/05 15:46:10 pirofti Exp $ */
+/* $OpenBSD: linux_syscall.h,v 1.59 2011/07/07 01:21:22 tedu Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.54 2011/04/04 21:50:41 pirofti Exp
+ * created from OpenBSD: syscalls.master,v 1.56 2011/07/07 01:19:39 tedu Exp
*/
/* syscall: "syscall" ret: "int" args: */
diff --git a/sys/compat/linux/linux_syscallargs.h b/sys/compat/linux/linux_syscallargs.h
index 6c63dbadc24..86e522e25af 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.60 2011/04/05 15:46:10 pirofti Exp $ */
+/* $OpenBSD: linux_syscallargs.h,v 1.61 2011/07/07 01:21:22 tedu Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.54 2011/04/04 21:50:41 pirofti Exp
+ * created from OpenBSD: syscalls.master,v 1.56 2011/07/07 01:19:39 tedu Exp
*/
#ifdef syscallarg
@@ -79,6 +79,12 @@ struct linux_sys_break_args {
syscallarg(char *) nsize;
};
+struct linux_sys_lseek_args {
+ syscallarg(int) fd;
+ syscallarg(long) offset;
+ syscallarg(int) whence;
+};
+
struct linux_sys_mount_args {
syscallarg(char *) specialfile;
syscallarg(char *) dir;
@@ -195,6 +201,11 @@ struct linux_sys_sigpending_args {
syscallarg(linux_old_sigset_t *) mask;
};
+struct linux_sys_sethostname_args {
+ syscallarg(char *) hostname;
+ syscallarg(u_int) len;
+};
+
struct linux_sys_setrlimit_args {
syscallarg(u_int) which;
syscallarg(struct linux_rlimit *) rlp;
@@ -239,6 +250,11 @@ struct linux_sys_truncate_args {
syscallarg(long) length;
};
+struct linux_sys_ftruncate_args {
+ syscallarg(int) fd;
+ syscallarg(long) length;
+};
+
struct linux_sys_fchown16_args {
syscallarg(int) fd;
syscallarg(int) uid;
@@ -592,7 +608,7 @@ int linux_sys_chmod(struct proc *, void *, register_t *);
int linux_sys_lchown16(struct proc *, void *, register_t *);
int linux_sys_break(struct proc *, void *, register_t *);
int linux_sys_ostat(struct proc *, void *, register_t *);
-int compat_43_sys_lseek(struct proc *, void *, register_t *);
+int linux_sys_lseek(struct proc *, void *, register_t *);
int linux_sys_getpid(struct proc *, void *, register_t *);
int linux_sys_mount(struct proc *, void *, register_t *);
int linux_sys_umount(struct proc *, void *, register_t *);
@@ -653,7 +669,7 @@ int linux_sys_setreuid16(struct proc *, void *, register_t *);
int linux_sys_setregid16(struct proc *, void *, register_t *);
int linux_sys_sigsuspend(struct proc *, void *, register_t *);
int linux_sys_sigpending(struct proc *, void *, register_t *);
-int compat_43_sys_sethostname(struct proc *, void *, register_t *);
+int linux_sys_sethostname(struct proc *, void *, register_t *);
int linux_sys_setrlimit(struct proc *, void *, register_t *);
int linux_sys_getrlimit(struct proc *, void *, register_t *);
int sys_getrusage(struct proc *, void *, register_t *);
@@ -663,7 +679,7 @@ int sys_getgroups(struct proc *, void *, register_t *);
int sys_setgroups(struct proc *, void *, register_t *);
int linux_sys_oldselect(struct proc *, void *, register_t *);
int linux_sys_symlink(struct proc *, void *, register_t *);
-int compat_43_sys_lstat(struct proc *, void *, register_t *);
+int linux_sys_lstat(struct proc *, void *, register_t *);
int linux_sys_readlink(struct proc *, void *, register_t *);
int linux_sys_uselib(struct proc *, void *, register_t *);
int compat_25_sys_swapon(struct proc *, void *, register_t *);
@@ -672,7 +688,7 @@ int linux_sys_readdir(struct proc *, void *, register_t *);
int linux_sys_mmap(struct proc *, void *, register_t *);
int sys_munmap(struct proc *, void *, register_t *);
int linux_sys_truncate(struct proc *, void *, register_t *);
-int compat_43_sys_ftruncate(struct proc *, void *, register_t *);
+int linux_sys_ftruncate(struct proc *, void *, register_t *);
int sys_fchmod(struct proc *, void *, register_t *);
int linux_sys_fchown16(struct proc *, void *, register_t *);
int sys_getpriority(struct proc *, void *, register_t *);
diff --git a/sys/compat/linux/linux_syscalls.c b/sys/compat/linux/linux_syscalls.c
index 0f4cca41282..3102f8202ee 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.58 2011/04/05 15:46:10 pirofti Exp $ */
+/* $OpenBSD: linux_syscalls.c,v 1.59 2011/07/07 01:21:22 tedu Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.54 2011/04/04 21:50:41 pirofti Exp
+ * created from OpenBSD: syscalls.master,v 1.56 2011/07/07 01:19:39 tedu Exp
*/
char *linux_syscallnames[] = {
diff --git a/sys/compat/linux/linux_sysent.c b/sys/compat/linux/linux_sysent.c
index 0474613e5ab..263cc0f73eb 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.59 2011/04/05 15:46:10 pirofti Exp $ */
+/* $OpenBSD: linux_sysent.c,v 1.60 2011/07/07 01:21:22 tedu Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.54 2011/04/04 21:50:41 pirofti Exp
+ * created from OpenBSD: syscalls.master,v 1.56 2011/07/07 01:19:39 tedu Exp
*/
#include <sys/param.h>
@@ -59,8 +59,8 @@ struct sysent linux_sysent[] = {
linux_sys_break }, /* 17 = break */
{ 0, 0, 0,
linux_sys_ostat }, /* 18 = ostat */
- { 3, s(struct compat_43_sys_lseek_args), 0,
- compat_43_sys_lseek }, /* 19 = lseek */
+ { 3, s(struct linux_sys_lseek_args), 0,
+ linux_sys_lseek }, /* 19 = lseek */
{ 0, 0, 0,
linux_sys_getpid }, /* 20 = getpid */
{ 5, s(struct linux_sys_mount_args), 0,
@@ -179,8 +179,8 @@ struct sysent linux_sysent[] = {
linux_sys_sigsuspend }, /* 72 = sigsuspend */
{ 1, s(struct linux_sys_sigpending_args), 0,
linux_sys_sigpending }, /* 73 = sigpending */
- { 2, s(struct compat_43_sys_sethostname_args), 0,
- compat_43_sys_sethostname }, /* 74 = sethostname */
+ { 2, s(struct linux_sys_sethostname_args), 0,
+ linux_sys_sethostname }, /* 74 = sethostname */
{ 2, s(struct linux_sys_setrlimit_args), 0,
linux_sys_setrlimit }, /* 75 = setrlimit */
{ 2, s(struct linux_sys_getrlimit_args), 0,
@@ -199,8 +199,8 @@ struct sysent linux_sysent[] = {
linux_sys_oldselect }, /* 82 = oldselect */
{ 2, s(struct linux_sys_symlink_args), 0,
linux_sys_symlink }, /* 83 = symlink */
- { 2, s(struct compat_43_sys_lstat_args), 0,
- compat_43_sys_lstat }, /* 84 = olstat */
+ { 2, s(struct linux_sys_lstat_args), 0,
+ linux_sys_lstat }, /* 84 = olstat */
{ 3, s(struct linux_sys_readlink_args), 0,
linux_sys_readlink }, /* 85 = readlink */
{ 1, s(struct linux_sys_uselib_args), 0,
@@ -217,8 +217,8 @@ struct sysent linux_sysent[] = {
sys_munmap }, /* 91 = munmap */
{ 2, s(struct linux_sys_truncate_args), 0,
linux_sys_truncate }, /* 92 = truncate */
- { 2, s(struct compat_43_sys_ftruncate_args), 0,
- compat_43_sys_ftruncate }, /* 93 = ftruncate */
+ { 2, s(struct linux_sys_ftruncate_args), 0,
+ linux_sys_ftruncate }, /* 93 = ftruncate */
{ 2, s(struct sys_fchmod_args), 0,
sys_fchmod }, /* 94 = fchmod */
{ 3, s(struct linux_sys_fchown16_args), 0,
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c
index 5635b115d4b..d612e8e0d3f 100644
--- a/sys/kern/init_sysent.c
+++ b/sys/kern/init_sysent.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: init_sysent.c,v 1.120 2011/07/04 20:35:35 deraadt Exp $ */
+/* $OpenBSD: init_sysent.c,v 1.121 2011/07/07 01:21:22 tedu Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.108 2011/06/30 13:43:14 tedu Exp
+ * created from; OpenBSD: syscalls.master,v 1.109 2011/07/07 01:19:40 tedu Exp
*/
#include <sys/param.h>
@@ -65,8 +65,8 @@ struct sysent sysent[] = {
sys_close }, /* 6 = close */
{ 4, s(struct sys_wait4_args), 0,
sys_wait4 }, /* 7 = wait4 */
- { 2, s(struct compat_43_sys_creat_args), 0,
- compat_43(sys_creat) }, /* 8 = compat_43 ocreat */
+ { 0, 0, 0,
+ sys_nosys }, /* 8 = obsolete ocreat */
{ 2, s(struct sys_link_args), 0,
sys_link }, /* 9 = link */
{ 1, s(struct sys_unlink_args), 0,
@@ -87,8 +87,8 @@ struct sysent sysent[] = {
sys_obreak }, /* 17 = break */
{ 3, s(struct compat_25_sys_getfsstat_args), 0,
compat_25(sys_getfsstat) }, /* 18 = compat_25 ogetfsstat */
- { 3, s(struct compat_43_sys_lseek_args), 0,
- compat_43(sys_lseek) }, /* 19 = compat_43 olseek */
+ { 0, 0, 0,
+ sys_nosys }, /* 19 = obsolete olseek */
{ 0, 0, 0,
sys_getpid }, /* 20 = getpid */
{ 4, s(struct sys_mount_args), 0,
@@ -130,12 +130,12 @@ struct sysent sysent[] = {
sys_sync }, /* 36 = sync */
{ 2, s(struct sys_kill_args), 0,
sys_kill }, /* 37 = kill */
- { 2, s(struct compat_43_sys_stat_args), 0,
- compat_43(sys_stat) }, /* 38 = compat_43 stat43 */
+ { 0, 0, 0,
+ sys_nosys }, /* 38 = obsolete stat43 */
{ 0, 0, 0,
sys_getppid }, /* 39 = getppid */
- { 2, s(struct compat_43_sys_lstat_args), 0,
- compat_43(sys_lstat) }, /* 40 = compat_43 lstat43 */
+ { 0, 0, 0,
+ sys_nosys }, /* 40 = obsolete lstat43 */
{ 1, s(struct sys_dup_args), 0,
sys_dup }, /* 41 = dup */
{ 0, 0, 0,
@@ -188,12 +188,12 @@ struct sysent sysent[] = {
sys_umask }, /* 60 = umask */
{ 1, s(struct sys_chroot_args), 0,
sys_chroot }, /* 61 = chroot */
- { 2, s(struct compat_43_sys_fstat_args), 0,
- compat_43(sys_fstat) }, /* 62 = compat_43 fstat43 */
- { 4, s(struct compat_43_sys_getkerninfo_args), 0,
- compat_43(sys_getkerninfo) }, /* 63 = compat_43 ogetkerninfo */
{ 0, 0, 0,
- compat_43(sys_getpagesize) }, /* 64 = compat_43 ogetpagesize */
+ sys_nosys }, /* 62 = obsolete fstat43 */
+ { 0, 0, 0,
+ sys_nosys }, /* 63 = obsolete ogetkerninfo */
+ { 0, 0, 0,
+ sys_nosys }, /* 64 = obsolete ogetpagesize */
{ 2, s(struct compat_25_sys_omsync_args), 0,
compat_25(sys_omsync) }, /* 65 = compat_25 omsync */
{ 0, 0, 0,
@@ -206,8 +206,8 @@ struct sysent sysent[] = {
sys_sbrk }, /* 69 = sbrk */
{ 1, s(struct sys_sstk_args), 0,
sys_sstk }, /* 70 = sstk */
- { 6, s(struct compat_43_sys_mmap_args), 0,
- compat_43(sys_mmap) }, /* 71 = compat_43 ommap */
+ { 0, 0, 0,
+ sys_nosys }, /* 71 = obsolete ommap */
{ 0, 0, 0,
sys_nosys }, /* 72 = obsolete vadvise */
{ 2, s(struct sys_munmap_args), 0,
@@ -233,17 +233,17 @@ struct sysent sysent[] = {
{ 3, s(struct sys_setitimer_args), 0,
sys_setitimer }, /* 83 = setitimer */
{ 0, 0, 0,
- compat_43(sys_wait) }, /* 84 = compat_43 owait */
+ sys_nosys }, /* 84 = obsolete owait */
{ 1, s(struct compat_25_sys_swapon_args), 0,
compat_25(sys_swapon) }, /* 85 = compat_25 swapon */
{ 2, s(struct sys_getitimer_args), 0,
sys_getitimer }, /* 86 = getitimer */
- { 2, s(struct compat_43_sys_gethostname_args), 0,
- compat_43(sys_gethostname) }, /* 87 = compat_43 ogethostname */
- { 2, s(struct compat_43_sys_sethostname_args), 0,
- compat_43(sys_sethostname) }, /* 88 = compat_43 osethostname */
{ 0, 0, 0,
- compat_43(sys_getdtablesize) }, /* 89 = compat_43 ogetdtablesize */
+ sys_nosys }, /* 87 = obsolete ogethostname */
+ { 0, 0, 0,
+ sys_nosys }, /* 88 = obsolete osethostname */
+ { 0, 0, 0,
+ sys_nosys }, /* 89 = obsolete ogetdtablesize */
{ 2, s(struct sys_dup2_args), 0,
sys_dup2 }, /* 90 = dup2 */
{ 0, 0, 0,
@@ -262,14 +262,14 @@ struct sysent sysent[] = {
sys_socket }, /* 97 = socket */
{ 3, s(struct sys_connect_args), 0,
sys_connect }, /* 98 = connect */
- { 3, s(struct compat_43_sys_accept_args), 0,
- compat_43(sys_accept) }, /* 99 = compat_43 oaccept */
+ { 0, 0, 0,
+ sys_nosys }, /* 99 = obsolete oaccept */
{ 2, s(struct sys_getpriority_args), 0,
sys_getpriority }, /* 100 = getpriority */
- { 4, s(struct compat_43_sys_send_args), 0,
- compat_43(sys_send) }, /* 101 = compat_43 osend */
- { 4, s(struct compat_43_sys_recv_args), 0,
- compat_43(sys_recv) }, /* 102 = compat_43 orecv */
+ { 0, 0, 0,
+ sys_nosys }, /* 101 = obsolete osend */
+ { 0, 0, 0,
+ sys_nosys }, /* 102 = obsolete orecv */
{ 1, s(struct sys_sigreturn_args), 0,
sys_sigreturn }, /* 103 = sigreturn */
{ 3, s(struct sys_bind_args), 0,
@@ -280,20 +280,20 @@ struct sysent sysent[] = {
sys_listen }, /* 106 = listen */
{ 0, 0, 0,
sys_nosys }, /* 107 = obsolete vtimes */
- { 3, s(struct compat_43_sys_sigvec_args), 0,
- compat_43(sys_sigvec) }, /* 108 = compat_43 osigvec */
- { 1, s(struct compat_43_sys_sigblock_args), 0,
- compat_43(sys_sigblock) }, /* 109 = compat_43 osigblock */
- { 1, s(struct compat_43_sys_sigsetmask_args), 0,
- compat_43(sys_sigsetmask) }, /* 110 = compat_43 osigsetmask */
+ { 0, 0, 0,
+ sys_nosys }, /* 108 = obsolete osigvec */
+ { 0, 0, 0,
+ sys_nosys }, /* 109 = obsolete osigblock */
+ { 0, 0, 0,
+ sys_nosys }, /* 110 = obsolete osigsetmask */
{ 1, s(struct sys_sigsuspend_args), 0,
sys_sigsuspend }, /* 111 = sigsuspend */
- { 2, s(struct compat_43_sys_sigstack_args), 0,
- compat_43(sys_sigstack) }, /* 112 = compat_43 osigstack */
- { 3, s(struct compat_43_sys_recvmsg_args), 0,
- compat_43(sys_recvmsg) }, /* 113 = compat_43 orecvmsg */
- { 3, s(struct compat_43_sys_sendmsg_args), 0,
- compat_43(sys_sendmsg) }, /* 114 = compat_43 osendmsg */
+ { 0, 0, 0,
+ sys_nosys }, /* 112 = obsolete osigstack */
+ { 0, 0, 0,
+ sys_nosys }, /* 113 = obsolete orecvmsg */
+ { 0, 0, 0,
+ sys_nosys }, /* 114 = obsolete osendmsg */
{ 0, 0, 0,
sys_nosys }, /* 115 = obsolete vtrace */
{ 2, s(struct sys_gettimeofday_args), SY_NOLOCK | 0,
@@ -314,18 +314,18 @@ struct sysent sysent[] = {
sys_fchown }, /* 123 = fchown */
{ 2, s(struct sys_fchmod_args), 0,
sys_fchmod }, /* 124 = fchmod */
- { 6, s(struct compat_43_sys_recvfrom_args), 0,
- compat_43(sys_recvfrom) }, /* 125 = compat_43 orecvfrom */
+ { 0, 0, 0,
+ sys_nosys }, /* 125 = obsolete orecvfrom */
{ 2, s(struct sys_setreuid_args), 0,
sys_setreuid }, /* 126 = setreuid */
{ 2, s(struct sys_setregid_args), 0,
sys_setregid }, /* 127 = setregid */
{ 2, s(struct sys_rename_args), 0,
sys_rename }, /* 128 = rename */
- { 2, s(struct compat_43_sys_truncate_args), 0,
- compat_43(sys_truncate) }, /* 129 = compat_43 otruncate */
- { 2, s(struct compat_43_sys_ftruncate_args), 0,
- compat_43(sys_ftruncate) }, /* 130 = compat_43 oftruncate */
+ { 0, 0, 0,
+ sys_nosys }, /* 129 = obsolete otruncate */
+ { 0, 0, 0,
+ sys_nosys }, /* 130 = obsolete oftruncate */
{ 2, s(struct sys_flock_args), 0,
sys_flock }, /* 131 = flock */
{ 2, s(struct sys_mkfifo_args), 0,
@@ -346,26 +346,26 @@ struct sysent sysent[] = {
sys_nosys }, /* 139 = obsolete 4.2 sigreturn */
{ 2, s(struct sys_adjtime_args), 0,
sys_adjtime }, /* 140 = adjtime */
- { 3, s(struct compat_43_sys_getpeername_args), 0,
- compat_43(sys_getpeername) }, /* 141 = compat_43 ogetpeername */
- { 0, 0, 0,
- compat_43(sys_gethostid) }, /* 142 = compat_43 ogethostid */
- { 1, s(struct compat_43_sys_sethostid_args), 0,
- compat_43(sys_sethostid) }, /* 143 = compat_43 osethostid */
- { 2, s(struct compat_43_sys_getrlimit_args), 0,
- compat_43(sys_getrlimit) }, /* 144 = compat_43 ogetrlimit */
- { 2, s(struct compat_43_sys_setrlimit_args), 0,
- compat_43(sys_setrlimit) }, /* 145 = compat_43 osetrlimit */
- { 2, s(struct compat_43_sys_killpg_args), 0,
- compat_43(sys_killpg) }, /* 146 = compat_43 okillpg */
+ { 0, 0, 0,
+ sys_nosys }, /* 141 = obsolete ogetpeername */
+ { 0, 0, 0,
+ sys_nosys }, /* 142 = obsolete ogethostid */
+ { 0, 0, 0,
+ sys_nosys }, /* 143 = obsolete osethostid */
+ { 0, 0, 0,
+ sys_nosys }, /* 144 = obsolete ogetrlimit */
+ { 0, 0, 0,
+ sys_nosys }, /* 145 = obsolete osetrlimit */
+ { 0, 0, 0,
+ sys_nosys }, /* 146 = obsolete okillpg */
{ 0, 0, 0,
sys_setsid }, /* 147 = setsid */
{ 4, s(struct sys_quotactl_args), 0,
sys_quotactl }, /* 148 = quotactl */
{ 0, 0, 0,
- compat_43(sys_quota) }, /* 149 = compat_43 oquota */
- { 3, s(struct compat_43_sys_getsockname_args), 0,
- compat_43(sys_getsockname) }, /* 150 = compat_43 ogetsockname */
+ sys_nosys }, /* 149 = obsolete oquota */
+ { 0, 0, 0,
+ sys_nosys }, /* 150 = obsolete ogetsockname */
{ 0, 0, 0,
sys_nosys }, /* 151 = unimplemented */
{ 0, 0, 0,
@@ -381,8 +381,8 @@ struct sysent sysent[] = {
{ 0, 0, 0,
sys_nosys }, /* 155 = unimplemented */
#endif
- { 4, s(struct compat_43_sys_getdirentries_args), 0,
- compat_43(sys_getdirentries) }, /* 156 = compat_43 ogetdirentries */
+ { 0, 0, 0,
+ sys_nosys }, /* 156 = obsolete ogetdirentries */
{ 2, s(struct compat_25_sys_statfs_args), 0,
compat_25(sys_statfs) }, /* 157 = compat_25 ostatfs */
{ 2, s(struct compat_25_sys_fstatfs_args), 0,
diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c
index ab43bbb6af7..73f9ae577af 100644
--- a/sys/kern/syscalls.c
+++ b/sys/kern/syscalls.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: syscalls.c,v 1.121 2011/07/04 20:35:35 deraadt Exp $ */
+/* $OpenBSD: syscalls.c,v 1.122 2011/07/07 01:21:22 tedu Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.108 2011/06/30 13:43:14 tedu Exp
+ * created from; OpenBSD: syscalls.master,v 1.109 2011/07/07 01:19:40 tedu Exp
*/
char *syscallnames[] = {
@@ -16,7 +16,7 @@ char *syscallnames[] = {
"open", /* 5 = open */
"close", /* 6 = close */
"wait4", /* 7 = wait4 */
- "compat_43_ocreat", /* 8 = compat_43 ocreat */
+ "#8 (obsolete ocreat)", /* 8 = obsolete ocreat */
"link", /* 9 = link */
"unlink", /* 10 = unlink */
"#11 (obsolete execv)", /* 11 = obsolete execv */
@@ -27,7 +27,7 @@ char *syscallnames[] = {
"chown", /* 16 = chown */
"break", /* 17 = break */
"compat_25_ogetfsstat", /* 18 = compat_25 ogetfsstat */
- "compat_43_olseek", /* 19 = compat_43 olseek */
+ "#19 (obsolete olseek)", /* 19 = obsolete olseek */
"getpid", /* 20 = getpid */
"mount", /* 21 = mount */
"unmount", /* 22 = unmount */
@@ -50,9 +50,9 @@ char *syscallnames[] = {
"fchflags", /* 35 = fchflags */
"sync", /* 36 = sync */
"kill", /* 37 = kill */
- "compat_43_stat43", /* 38 = compat_43 stat43 */
+ "#38 (obsolete stat43)", /* 38 = obsolete stat43 */
"getppid", /* 39 = getppid */
- "compat_43_lstat43", /* 40 = compat_43 lstat43 */
+ "#40 (obsolete lstat43)", /* 40 = obsolete lstat43 */
"dup", /* 41 = dup */
"opipe", /* 42 = opipe */
"getegid", /* 43 = getegid */
@@ -82,16 +82,16 @@ char *syscallnames[] = {
"execve", /* 59 = execve */
"umask", /* 60 = umask */
"chroot", /* 61 = chroot */
- "compat_43_fstat43", /* 62 = compat_43 fstat43 */
- "compat_43_ogetkerninfo", /* 63 = compat_43 ogetkerninfo */
- "compat_43_ogetpagesize", /* 64 = compat_43 ogetpagesize */
+ "#62 (obsolete fstat43)", /* 62 = obsolete fstat43 */
+ "#63 (obsolete ogetkerninfo)", /* 63 = obsolete ogetkerninfo */
+ "#64 (obsolete ogetpagesize)", /* 64 = obsolete ogetpagesize */
"compat_25_omsync", /* 65 = compat_25 omsync */
"vfork", /* 66 = vfork */
"#67 (obsolete vread)", /* 67 = obsolete vread */
"#68 (obsolete vwrite)", /* 68 = obsolete vwrite */
"sbrk", /* 69 = sbrk */
"sstk", /* 70 = sstk */
- "compat_43_ommap", /* 71 = compat_43 ommap */
+ "#71 (obsolete ommap)", /* 71 = obsolete ommap */
"#72 (obsolete vadvise)", /* 72 = obsolete vadvise */
"munmap", /* 73 = munmap */
"mprotect", /* 74 = mprotect */
@@ -104,12 +104,12 @@ char *syscallnames[] = {
"getpgrp", /* 81 = getpgrp */
"setpgid", /* 82 = setpgid */
"setitimer", /* 83 = setitimer */
- "compat_43_owait", /* 84 = compat_43 owait */
+ "#84 (obsolete owait)", /* 84 = obsolete owait */
"compat_25_swapon", /* 85 = compat_25 swapon */
"getitimer", /* 86 = getitimer */
- "compat_43_ogethostname", /* 87 = compat_43 ogethostname */
- "compat_43_osethostname", /* 88 = compat_43 osethostname */
- "compat_43_ogetdtablesize", /* 89 = compat_43 ogetdtablesize */
+ "#87 (obsolete ogethostname)", /* 87 = obsolete ogethostname */
+ "#88 (obsolete osethostname)", /* 88 = obsolete osethostname */
+ "#89 (obsolete ogetdtablesize)", /* 89 = obsolete ogetdtablesize */
"dup2", /* 90 = dup2 */
"#91 (unimplemented getdopt)", /* 91 = unimplemented getdopt */
"fcntl", /* 92 = fcntl */
@@ -119,22 +119,22 @@ char *syscallnames[] = {
"setpriority", /* 96 = setpriority */
"socket", /* 97 = socket */
"connect", /* 98 = connect */
- "compat_43_oaccept", /* 99 = compat_43 oaccept */
+ "#99 (obsolete oaccept)", /* 99 = obsolete oaccept */
"getpriority", /* 100 = getpriority */
- "compat_43_osend", /* 101 = compat_43 osend */
- "compat_43_orecv", /* 102 = compat_43 orecv */
+ "#101 (obsolete osend)", /* 101 = obsolete osend */
+ "#102 (obsolete orecv)", /* 102 = obsolete orecv */
"sigreturn", /* 103 = sigreturn */
"bind", /* 104 = bind */
"setsockopt", /* 105 = setsockopt */
"listen", /* 106 = listen */
"#107 (obsolete vtimes)", /* 107 = obsolete vtimes */
- "compat_43_osigvec", /* 108 = compat_43 osigvec */
- "compat_43_osigblock", /* 109 = compat_43 osigblock */
- "compat_43_osigsetmask", /* 110 = compat_43 osigsetmask */
+ "#108 (obsolete osigvec)", /* 108 = obsolete osigvec */
+ "#109 (obsolete osigblock)", /* 109 = obsolete osigblock */
+ "#110 (obsolete osigsetmask)", /* 110 = obsolete osigsetmask */
"sigsuspend", /* 111 = sigsuspend */
- "compat_43_osigstack", /* 112 = compat_43 osigstack */
- "compat_43_orecvmsg", /* 113 = compat_43 orecvmsg */
- "compat_43_osendmsg", /* 114 = compat_43 osendmsg */
+ "#112 (obsolete osigstack)", /* 112 = obsolete osigstack */
+ "#113 (obsolete orecvmsg)", /* 113 = obsolete orecvmsg */
+ "#114 (obsolete osendmsg)", /* 114 = obsolete osendmsg */
"#115 (obsolete vtrace)", /* 115 = obsolete vtrace */
"gettimeofday", /* 116 = gettimeofday */
"getrusage", /* 117 = getrusage */
@@ -145,12 +145,12 @@ char *syscallnames[] = {
"settimeofday", /* 122 = settimeofday */
"fchown", /* 123 = fchown */
"fchmod", /* 124 = fchmod */
- "compat_43_orecvfrom", /* 125 = compat_43 orecvfrom */
+ "#125 (obsolete orecvfrom)", /* 125 = obsolete orecvfrom */
"setreuid", /* 126 = setreuid */
"setregid", /* 127 = setregid */
"rename", /* 128 = rename */
- "compat_43_otruncate", /* 129 = compat_43 otruncate */
- "compat_43_oftruncate", /* 130 = compat_43 oftruncate */
+ "#129 (obsolete otruncate)", /* 129 = obsolete otruncate */
+ "#130 (obsolete oftruncate)", /* 130 = obsolete oftruncate */
"flock", /* 131 = flock */
"mkfifo", /* 132 = mkfifo */
"sendto", /* 133 = sendto */
@@ -161,16 +161,16 @@ char *syscallnames[] = {
"utimes", /* 138 = utimes */
"#139 (obsolete 4.2 sigreturn)", /* 139 = obsolete 4.2 sigreturn */
"adjtime", /* 140 = adjtime */
- "compat_43_ogetpeername", /* 141 = compat_43 ogetpeername */
- "compat_43_ogethostid", /* 142 = compat_43 ogethostid */
- "compat_43_osethostid", /* 143 = compat_43 osethostid */
- "compat_43_ogetrlimit", /* 144 = compat_43 ogetrlimit */
- "compat_43_osetrlimit", /* 145 = compat_43 osetrlimit */
- "compat_43_okillpg", /* 146 = compat_43 okillpg */
+ "#141 (obsolete ogetpeername)", /* 141 = obsolete ogetpeername */
+ "#142 (obsolete ogethostid)", /* 142 = obsolete ogethostid */
+ "#143 (obsolete osethostid)", /* 143 = obsolete osethostid */
+ "#144 (obsolete ogetrlimit)", /* 144 = obsolete ogetrlimit */
+ "#145 (obsolete osetrlimit)", /* 145 = obsolete osetrlimit */
+ "#146 (obsolete okillpg)", /* 146 = obsolete okillpg */
"setsid", /* 147 = setsid */
"quotactl", /* 148 = quotactl */
- "compat_43_oquota", /* 149 = compat_43 oquota */
- "compat_43_ogetsockname", /* 150 = compat_43 ogetsockname */
+ "#149 (obsolete oquota)", /* 149 = obsolete oquota */
+ "#150 (obsolete ogetsockname)", /* 150 = obsolete ogetsockname */
"#151 (unimplemented)", /* 151 = unimplemented */
"#152 (unimplemented)", /* 152 = unimplemented */
"#153 (unimplemented)", /* 153 = unimplemented */
@@ -180,7 +180,7 @@ char *syscallnames[] = {
#else
"#155 (unimplemented)", /* 155 = unimplemented */
#endif
- "compat_43_ogetdirentries", /* 156 = compat_43 ogetdirentries */
+ "#156 (obsolete ogetdirentries)", /* 156 = obsolete ogetdirentries */
"compat_25_ostatfs", /* 157 = compat_25 ostatfs */
"compat_25_ostatfs", /* 158 = compat_25 ostatfs */
"#159 (unimplemented)", /* 159 = unimplemented */
diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h
index 4fd52a30d53..c72118eb026 100644
--- a/sys/sys/syscall.h
+++ b/sys/sys/syscall.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: syscall.h,v 1.120 2011/07/04 20:35:35 deraadt Exp $ */
+/* $OpenBSD: syscall.h,v 1.121 2011/07/07 01:21:22 tedu Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.108 2011/06/30 13:43:14 tedu Exp
+ * created from; OpenBSD: syscalls.master,v 1.109 2011/07/07 01:19:40 tedu Exp
*/
/* syscall: "syscall" ret: "int" args: "int" "..." */
@@ -31,8 +31,7 @@
/* syscall: "wait4" ret: "pid_t" args: "pid_t" "int *" "int" "struct rusage *" */
#define SYS_wait4 7
- /* 8 is compat_43 ocreat */
-
+ /* 8 is obsolete ocreat */
/* syscall: "link" ret: "int" args: "const char *" "const char *" */
#define SYS_link 9
@@ -60,8 +59,7 @@
/* 18 is compat_25 ogetfsstat */
- /* 19 is compat_43 olseek */
-
+ /* 19 is obsolete olseek */
/* syscall: "getpid" ret: "pid_t" args: */
#define SYS_getpid 20
@@ -116,13 +114,11 @@
/* syscall: "kill" ret: "int" args: "int" "int" */
#define SYS_kill 37
- /* 38 is compat_43 stat43 */
-
+ /* 38 is obsolete stat43 */
/* syscall: "getppid" ret: "pid_t" args: */
#define SYS_getppid 39
- /* 40 is compat_43 lstat43 */
-
+ /* 40 is obsolete lstat43 */
/* syscall: "dup" ret: "int" args: "int" */
#define SYS_dup 41
@@ -186,12 +182,9 @@
/* syscall: "chroot" ret: "int" args: "const char *" */
#define SYS_chroot 61
- /* 62 is compat_43 fstat43 */
-
- /* 63 is compat_43 ogetkerninfo */
-
- /* 64 is compat_43 ogetpagesize */
-
+ /* 62 is obsolete fstat43 */
+ /* 63 is obsolete ogetkerninfo */
+ /* 64 is obsolete ogetpagesize */
/* 65 is compat_25 omsync */
/* syscall: "vfork" ret: "int" args: */
@@ -205,8 +198,7 @@
/* syscall: "sstk" ret: "int" args: "int" */
#define SYS_sstk 70
- /* 71 is compat_43 ommap */
-
+ /* 71 is obsolete ommap */
/* 72 is obsolete vadvise */
/* syscall: "munmap" ret: "int" args: "void *" "size_t" */
#define SYS_munmap 73
@@ -237,19 +229,15 @@
/* syscall: "setitimer" ret: "int" args: "int" "const struct itimerval *" "struct itimerval *" */
#define SYS_setitimer 83
- /* 84 is compat_43 owait */
-
+ /* 84 is obsolete owait */
/* 85 is compat_25 swapon */
/* syscall: "getitimer" ret: "int" args: "int" "struct itimerval *" */
#define SYS_getitimer 86
- /* 87 is compat_43 ogethostname */
-
- /* 88 is compat_43 osethostname */
-
- /* 89 is compat_43 ogetdtablesize */
-
+ /* 87 is obsolete ogethostname */
+ /* 88 is obsolete osethostname */
+ /* 89 is obsolete ogetdtablesize */
/* syscall: "dup2" ret: "int" args: "int" "int" */
#define SYS_dup2 90
@@ -271,15 +259,12 @@
/* syscall: "connect" ret: "int" args: "int" "const struct sockaddr *" "socklen_t" */
#define SYS_connect 98
- /* 99 is compat_43 oaccept */
-
+ /* 99 is obsolete oaccept */
/* syscall: "getpriority" ret: "int" args: "int" "id_t" */
#define SYS_getpriority 100
- /* 101 is compat_43 osend */
-
- /* 102 is compat_43 orecv */
-
+ /* 101 is obsolete osend */
+ /* 102 is obsolete orecv */
/* syscall: "sigreturn" ret: "int" args: "struct sigcontext *" */
#define SYS_sigreturn 103
@@ -293,21 +278,15 @@
#define SYS_listen 106
/* 107 is obsolete vtimes */
- /* 108 is compat_43 osigvec */
-
- /* 109 is compat_43 osigblock */
-
- /* 110 is compat_43 osigsetmask */
-
+ /* 108 is obsolete osigvec */
+ /* 109 is obsolete osigblock */
+ /* 110 is obsolete osigsetmask */
/* syscall: "sigsuspend" ret: "int" args: "int" */
#define SYS_sigsuspend 111
- /* 112 is compat_43 osigstack */
-
- /* 113 is compat_43 orecvmsg */
-
- /* 114 is compat_43 osendmsg */
-
+ /* 112 is obsolete osigstack */
+ /* 113 is obsolete orecvmsg */
+ /* 114 is obsolete osendmsg */
/* 115 is obsolete vtrace */
/* syscall: "gettimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */
#define SYS_gettimeofday 116
@@ -334,8 +313,7 @@
/* syscall: "fchmod" ret: "int" args: "int" "mode_t" */
#define SYS_fchmod 124
- /* 125 is compat_43 orecvfrom */
-
+ /* 125 is obsolete orecvfrom */
/* syscall: "setreuid" ret: "int" args: "uid_t" "uid_t" */
#define SYS_setreuid 126
@@ -345,10 +323,8 @@
/* syscall: "rename" ret: "int" args: "const char *" "const char *" */
#define SYS_rename 128
- /* 129 is compat_43 otruncate */
-
- /* 130 is compat_43 oftruncate */
-
+ /* 129 is obsolete otruncate */
+ /* 130 is obsolete oftruncate */
/* syscall: "flock" ret: "int" args: "int" "int" */
#define SYS_flock 131
@@ -377,33 +353,24 @@
/* syscall: "adjtime" ret: "int" args: "const struct timeval *" "struct timeval *" */
#define SYS_adjtime 140
- /* 141 is compat_43 ogetpeername */
-
- /* 142 is compat_43 ogethostid */
-
- /* 143 is compat_43 osethostid */
-
- /* 144 is compat_43 ogetrlimit */
-
- /* 145 is compat_43 osetrlimit */
-
- /* 146 is compat_43 okillpg */
-
+ /* 141 is obsolete ogetpeername */
+ /* 142 is obsolete ogethostid */
+ /* 143 is obsolete osethostid */
+ /* 144 is obsolete ogetrlimit */
+ /* 145 is obsolete osetrlimit */
+ /* 146 is obsolete okillpg */
/* syscall: "setsid" ret: "int" args: */
#define SYS_setsid 147
/* syscall: "quotactl" ret: "int" args: "const char *" "int" "int" "char *" */
#define SYS_quotactl 148
- /* 149 is compat_43 oquota */
-
- /* 150 is compat_43 ogetsockname */
-
+ /* 149 is obsolete oquota */
+ /* 150 is obsolete ogetsockname */
/* syscall: "nfssvc" ret: "int" args: "int" "void *" */
#define SYS_nfssvc 155
- /* 156 is compat_43 ogetdirentries */
-
+ /* 156 is obsolete ogetdirentries */
/* 157 is compat_25 ostatfs */
/* 158 is compat_25 ostatfs */
diff --git a/sys/sys/syscallargs.h b/sys/sys/syscallargs.h
index 8bc20b2fa44..372ed752376 100644
--- a/sys/sys/syscallargs.h
+++ b/sys/sys/syscallargs.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: syscallargs.h,v 1.122 2011/07/04 20:35:35 deraadt Exp $ */
+/* $OpenBSD: syscallargs.h,v 1.123 2011/07/07 01:21:22 tedu Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.108 2011/06/30 13:43:14 tedu Exp
+ * created from; OpenBSD: syscalls.master,v 1.109 2011/07/07 01:19:40 tedu Exp
*/
#ifdef syscallarg
@@ -56,11 +56,6 @@ struct sys_wait4_args {
syscallarg(struct rusage *) rusage;
};
-struct compat_43_sys_creat_args {
- syscallarg(const char *) path;
- syscallarg(mode_t) mode;
-};
-
struct sys_link_args {
syscallarg(const char *) path;
syscallarg(const char *) link;
@@ -105,12 +100,6 @@ struct compat_25_sys_getfsstat_args {
syscallarg(int) flags;
};
-struct compat_43_sys_lseek_args {
- syscallarg(int) fd;
- syscallarg(long) offset;
- syscallarg(int) whence;
-};
-
struct sys_mount_args {
syscallarg(const char *) type;
syscallarg(const char *) path;
@@ -193,16 +182,6 @@ struct sys_kill_args {
syscallarg(int) signum;
};
-struct compat_43_sys_stat_args {
- syscallarg(const char *) path;
- syscallarg(struct stat43 *) ub;
-};
-
-struct compat_43_sys_lstat_args {
- syscallarg(char *) path;
- syscallarg(struct stat43 *) ub;
-};
-
struct sys_dup_args {
syscallarg(int) fd;
};
@@ -289,18 +268,6 @@ struct sys_chroot_args {
syscallarg(const char *) path;
};
-struct compat_43_sys_fstat_args {
- syscallarg(int) fd;
- syscallarg(struct stat43 *) sb;
-};
-
-struct compat_43_sys_getkerninfo_args {
- syscallarg(int) op;
- syscallarg(char *) where;
- syscallarg(int *) size;
- syscallarg(int) arg;
-};
-
struct compat_25_sys_omsync_args {
syscallarg(caddr_t) addr;
syscallarg(size_t) len;
@@ -314,15 +281,6 @@ struct sys_sstk_args {
syscallarg(int) incr;
};
-struct compat_43_sys_mmap_args {
- syscallarg(caddr_t) addr;
- syscallarg(size_t) len;
- syscallarg(int) prot;
- syscallarg(int) flags;
- syscallarg(int) fd;
- syscallarg(long) pos;
-};
-
struct sys_munmap_args {
syscallarg(void *) addr;
syscallarg(size_t) len;
@@ -376,16 +334,6 @@ struct sys_getitimer_args {
syscallarg(struct itimerval *) itv;
};
-struct compat_43_sys_gethostname_args {
- syscallarg(char *) hostname;
- syscallarg(u_int) len;
-};
-
-struct compat_43_sys_sethostname_args {
- syscallarg(char *) hostname;
- syscallarg(u_int) len;
-};
-
struct sys_dup2_args {
syscallarg(int) from;
syscallarg(int) to;
@@ -427,31 +375,11 @@ struct sys_connect_args {
syscallarg(socklen_t) namelen;
};
-struct compat_43_sys_accept_args {
- syscallarg(int) s;
- syscallarg(caddr_t) name;
- syscallarg(int *) anamelen;
-};
-
struct sys_getpriority_args {
syscallarg(int) which;
syscallarg(id_t) who;
};
-struct compat_43_sys_send_args {
- syscallarg(int) s;
- syscallarg(caddr_t) buf;
- syscallarg(int) len;
- syscallarg(int) flags;
-};
-
-struct compat_43_sys_recv_args {
- syscallarg(int) s;
- syscallarg(caddr_t) buf;
- syscallarg(int) len;
- syscallarg(int) flags;
-};
-
struct sys_sigreturn_args {
syscallarg(struct sigcontext *) sigcntxp;
};
@@ -475,41 +403,10 @@ struct sys_listen_args {
syscallarg(int) backlog;
};
-struct compat_43_sys_sigvec_args {
- syscallarg(int) signum;
- syscallarg(struct sigvec *) nsv;
- syscallarg(struct sigvec *) osv;
-};
-
-struct compat_43_sys_sigblock_args {
- syscallarg(int) mask;
-};
-
-struct compat_43_sys_sigsetmask_args {
- syscallarg(int) mask;
-};
-
struct sys_sigsuspend_args {
syscallarg(int) mask;
};
-struct compat_43_sys_sigstack_args {
- syscallarg(struct sigstack *) nss;
- syscallarg(struct sigstack *) oss;
-};
-
-struct compat_43_sys_recvmsg_args {
- syscallarg(int) s;
- syscallarg(struct omsghdr *) msg;
- syscallarg(int) flags;
-};
-
-struct compat_43_sys_sendmsg_args {
- syscallarg(int) s;
- syscallarg(caddr_t) msg;
- syscallarg(int) flags;
-};
-
struct sys_gettimeofday_args {
syscallarg(struct timeval *) tp;
syscallarg(struct timezone *) tzp;
@@ -556,15 +453,6 @@ struct sys_fchmod_args {
syscallarg(mode_t) mode;
};
-struct compat_43_sys_recvfrom_args {
- syscallarg(int) s;
- syscallarg(caddr_t) buf;
- syscallarg(size_t) len;
- syscallarg(int) flags;
- syscallarg(caddr_t) from;
- syscallarg(int *) fromlenaddr;
-};
-
struct sys_setreuid_args {
syscallarg(uid_t) ruid;
syscallarg(uid_t) euid;
@@ -580,16 +468,6 @@ struct sys_rename_args {
syscallarg(const char *) to;
};
-struct compat_43_sys_truncate_args {
- syscallarg(const char *) path;
- syscallarg(long) length;
-};
-
-struct compat_43_sys_ftruncate_args {
- syscallarg(int) fd;
- syscallarg(long) length;
-};
-
struct sys_flock_args {
syscallarg(int) fd;
syscallarg(int) how;
@@ -640,31 +518,6 @@ struct sys_adjtime_args {
syscallarg(struct timeval *) olddelta;
};
-struct compat_43_sys_getpeername_args {
- syscallarg(int) fdes;
- syscallarg(caddr_t) asa;
- syscallarg(socklen_t *) alen;
-};
-
-struct compat_43_sys_sethostid_args {
- syscallarg(int32_t) hostid;
-};
-
-struct compat_43_sys_getrlimit_args {
- syscallarg(int) which;
- syscallarg(struct ogetrlimit *) rlp;
-};
-
-struct compat_43_sys_setrlimit_args {
- syscallarg(int) which;
- syscallarg(struct ogetrlimit *) rlp;
-};
-
-struct compat_43_sys_killpg_args {
- syscallarg(int) pgid;
- syscallarg(int) signum;
-};
-
struct sys_quotactl_args {
syscallarg(const char *) path;
syscallarg(int) cmd;
@@ -672,24 +525,11 @@ struct sys_quotactl_args {
syscallarg(char *) arg;
};
-struct compat_43_sys_getsockname_args {
- syscallarg(int) fdec;
- syscallarg(caddr_t) asa;
- syscallarg(int *) alen;
-};
-
struct sys_nfssvc_args {
syscallarg(int) flag;
syscallarg(void *) argp;
};
-struct compat_43_sys_getdirentries_args {
- syscallarg(int) fd;
- syscallarg(char *) buf;
- syscallarg(int) count;
- syscallarg(long *) basep;
-};
-
struct compat_25_sys_statfs_args {
syscallarg(const char *) path;
syscallarg(struct ostatfs *) buf;
@@ -1187,7 +1027,6 @@ int sys_write(struct proc *, void *, register_t *);
int sys_open(struct proc *, void *, register_t *);
int sys_close(struct proc *, void *, register_t *);
int sys_wait4(struct proc *, void *, register_t *);
-int compat_43_sys_creat(struct proc *, void *, register_t *);
int sys_link(struct proc *, void *, register_t *);
int sys_unlink(struct proc *, void *, register_t *);
int sys_chdir(struct proc *, void *, register_t *);
@@ -1197,7 +1036,6 @@ int sys_chmod(struct proc *, void *, register_t *);
int sys_chown(struct proc *, void *, register_t *);
int sys_obreak(struct proc *, void *, register_t *);
int compat_25_sys_getfsstat(struct proc *, void *, register_t *);
-int compat_43_sys_lseek(struct proc *, void *, register_t *);
int sys_getpid(struct proc *, void *, register_t *);
int sys_mount(struct proc *, void *, register_t *);
int sys_unmount(struct proc *, void *, register_t *);
@@ -1219,9 +1057,7 @@ int sys_chflags(struct proc *, void *, register_t *);
int sys_fchflags(struct proc *, void *, register_t *);
int sys_sync(struct proc *, void *, register_t *);
int sys_kill(struct proc *, void *, register_t *);
-int compat_43_sys_stat(struct proc *, void *, register_t *);
int sys_getppid(struct proc *, void *, register_t *);
-int compat_43_sys_lstat(struct proc *, void *, register_t *);
int sys_dup(struct proc *, void *, register_t *);
int sys_opipe(struct proc *, void *, register_t *);
int sys_getegid(struct proc *, void *, register_t *);
@@ -1249,14 +1085,10 @@ int sys_readlink(struct proc *, void *, register_t *);
int sys_execve(struct proc *, void *, register_t *);
int sys_umask(struct proc *, void *, register_t *);
int sys_chroot(struct proc *, void *, register_t *);
-int compat_43_sys_fstat(struct proc *, void *, register_t *);
-int compat_43_sys_getkerninfo(struct proc *, void *, register_t *);
-int compat_43_sys_getpagesize(struct proc *, void *, register_t *);
int compat_25_sys_omsync(struct proc *, void *, register_t *);
int sys_vfork(struct proc *, void *, register_t *);
int sys_sbrk(struct proc *, void *, register_t *);
int sys_sstk(struct proc *, void *, register_t *);
-int compat_43_sys_mmap(struct proc *, void *, register_t *);
int sys_munmap(struct proc *, void *, register_t *);
int sys_mprotect(struct proc *, void *, register_t *);
int sys_madvise(struct proc *, void *, register_t *);
@@ -1266,12 +1098,8 @@ int sys_setgroups(struct proc *, void *, register_t *);
int sys_getpgrp(struct proc *, void *, register_t *);
int sys_setpgid(struct proc *, void *, register_t *);
int sys_setitimer(struct proc *, void *, register_t *);
-int compat_43_sys_wait(struct proc *, void *, register_t *);
int compat_25_sys_swapon(struct proc *, void *, register_t *);
int sys_getitimer(struct proc *, void *, register_t *);
-int compat_43_sys_gethostname(struct proc *, void *, register_t *);
-int compat_43_sys_sethostname(struct proc *, void *, register_t *);
-int compat_43_sys_getdtablesize(struct proc *, void *, register_t *);
int sys_dup2(struct proc *, void *, register_t *);
int sys_fcntl(struct proc *, void *, register_t *);
int sys_select(struct proc *, void *, register_t *);
@@ -1279,21 +1107,12 @@ int sys_fsync(struct proc *, void *, register_t *);
int sys_setpriority(struct proc *, void *, register_t *);
int sys_socket(struct proc *, void *, register_t *);
int sys_connect(struct proc *, void *, register_t *);
-int compat_43_sys_accept(struct proc *, void *, register_t *);
int sys_getpriority(struct proc *, void *, register_t *);
-int compat_43_sys_send(struct proc *, void *, register_t *);
-int compat_43_sys_recv(struct proc *, void *, register_t *);
int sys_sigreturn(struct proc *, void *, register_t *);
int sys_bind(struct proc *, void *, register_t *);
int sys_setsockopt(struct proc *, void *, register_t *);
int sys_listen(struct proc *, void *, register_t *);
-int compat_43_sys_sigvec(struct proc *, void *, register_t *);
-int compat_43_sys_sigblock(struct proc *, void *, register_t *);
-int compat_43_sys_sigsetmask(struct proc *, void *, register_t *);
int sys_sigsuspend(struct proc *, void *, register_t *);
-int compat_43_sys_sigstack(struct proc *, void *, register_t *);
-int compat_43_sys_recvmsg(struct proc *, void *, register_t *);
-int compat_43_sys_sendmsg(struct proc *, void *, register_t *);
int sys_gettimeofday(struct proc *, void *, register_t *);
int sys_getrusage(struct proc *, void *, register_t *);
int sys_getsockopt(struct proc *, void *, register_t *);
@@ -1302,12 +1121,9 @@ int sys_writev(struct proc *, void *, register_t *);
int sys_settimeofday(struct proc *, void *, register_t *);
int sys_fchown(struct proc *, void *, register_t *);
int sys_fchmod(struct proc *, void *, register_t *);
-int compat_43_sys_recvfrom(struct proc *, void *, register_t *);
int sys_setreuid(struct proc *, void *, register_t *);
int sys_setregid(struct proc *, void *, register_t *);
int sys_rename(struct proc *, void *, register_t *);
-int compat_43_sys_truncate(struct proc *, void *, register_t *);
-int compat_43_sys_ftruncate(struct proc *, void *, register_t *);
int sys_flock(struct proc *, void *, register_t *);
int sys_mkfifo(struct proc *, void *, register_t *);
int sys_sendto(struct proc *, void *, register_t *);
@@ -1317,21 +1133,12 @@ int sys_mkdir(struct proc *, void *, register_t *);
int sys_rmdir(struct proc *, void *, register_t *);
int sys_utimes(struct proc *, void *, register_t *);
int sys_adjtime(struct proc *, void *, register_t *);
-int compat_43_sys_getpeername(struct proc *, void *, register_t *);
-int compat_43_sys_gethostid(struct proc *, void *, register_t *);
-int compat_43_sys_sethostid(struct proc *, void *, register_t *);
-int compat_43_sys_getrlimit(struct proc *, void *, register_t *);
-int compat_43_sys_setrlimit(struct proc *, void *, register_t *);
-int compat_43_sys_killpg(struct proc *, void *, register_t *);
int sys_setsid(struct proc *, void *, register_t *);
int sys_quotactl(struct proc *, void *, register_t *);
-int compat_43_sys_quota(struct proc *, void *, register_t *);
-int compat_43_sys_getsockname(struct proc *, void *, register_t *);
#if defined(NFSCLIENT) || defined(NFSSERVER)
int sys_nfssvc(struct proc *, void *, register_t *);
#else
#endif
-int compat_43_sys_getdirentries(struct proc *, void *, register_t *);
int compat_25_sys_statfs(struct proc *, void *, register_t *);
int compat_25_sys_fstatfs(struct proc *, void *, register_t *);
int sys_getfh(struct proc *, void *, register_t *);