summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/compat/bsdos/bsdos_syscall.h12
-rw-r--r--sys/compat/bsdos/bsdos_syscallargs.h8
-rw-r--r--sys/compat/bsdos/bsdos_syscalls.c8
-rw-r--r--sys/compat/bsdos/bsdos_sysent.c12
-rw-r--r--sys/compat/freebsd/freebsd_syscall.h12
-rw-r--r--sys/compat/freebsd/freebsd_syscallargs.h8
-rw-r--r--sys/compat/freebsd/freebsd_syscalls.c8
-rw-r--r--sys/compat/freebsd/freebsd_sysent.c12
-rw-r--r--sys/compat/netbsd/netbsd_syscall.h12
-rw-r--r--sys/compat/netbsd/netbsd_syscallargs.h8
-rw-r--r--sys/compat/netbsd/netbsd_syscalls.c8
-rw-r--r--sys/compat/netbsd/netbsd_sysent.c12
-rw-r--r--sys/compat/osf1/osf1_syscall.h10
-rw-r--r--sys/compat/osf1/osf1_syscallargs.h6
-rw-r--r--sys/compat/osf1/osf1_syscalls.c8
-rw-r--r--sys/compat/osf1/osf1_sysent.c12
-rw-r--r--sys/compat/sunos/sunos_syscall.h8
-rw-r--r--sys/compat/sunos/sunos_syscallargs.h8
-rw-r--r--sys/compat/sunos/sunos_syscalls.c4
-rw-r--r--sys/compat/sunos/sunos_sysent.c12
-rw-r--r--sys/compat/svr4/svr4_syscall.h8
-rw-r--r--sys/compat/svr4/svr4_syscallargs.h8
-rw-r--r--sys/compat/svr4/svr4_syscalls.c4
-rw-r--r--sys/compat/svr4/svr4_sysent.c12
-rw-r--r--sys/compat/ultrix/ultrix_syscall.h8
-rw-r--r--sys/compat/ultrix/ultrix_syscallargs.h8
-rw-r--r--sys/compat/ultrix/ultrix_syscalls.c4
-rw-r--r--sys/compat/ultrix/ultrix_sysent.c12
-rw-r--r--sys/kern/syscalls.c8
-rw-r--r--sys/sys/syscall.h10
-rw-r--r--sys/sys/syscallargs.h12
31 files changed, 146 insertions, 136 deletions
diff --git a/sys/compat/bsdos/bsdos_syscall.h b/sys/compat/bsdos/bsdos_syscall.h
index ea2e6d27df4..2059e44d8c0 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.10 2002/03/14 00:44:20 miod Exp $ */
+/* $OpenBSD: bsdos_syscall.h,v 1.11 2003/01/30 03:32:44 millert Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.9 2002/03/14 00:42:24 miod Exp
+ * created from OpenBSD: syscalls.master,v 1.10 2003/01/30 03:29:48 millert Exp
*/
/* syscall: "syscall" ret: "int" args: */
@@ -366,11 +366,11 @@
/* syscall: "orecvfrom" ret: "int" args: "int" "caddr_t" "size_t" "int" "caddr_t" "int *" */
#define BSDOS_SYS_orecvfrom 125
-/* syscall: "osetreuid" ret: "int" args: "int" "int" */
-#define BSDOS_SYS_osetreuid 126
+/* syscall: "setreuid" ret: "int" args: "uid_t" "uid_t" */
+#define BSDOS_SYS_setreuid 126
-/* syscall: "osetregid" ret: "int" args: "int" "int" */
-#define BSDOS_SYS_osetregid 127
+/* syscall: "setregid" ret: "int" args: "gid_t" "gid_t" */
+#define BSDOS_SYS_setregid 127
/* syscall: "rename" ret: "int" args: "char *" "char *" */
#define BSDOS_SYS_rename 128
diff --git a/sys/compat/bsdos/bsdos_syscallargs.h b/sys/compat/bsdos/bsdos_syscallargs.h
index 362581046ac..31453e5027f 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.11 2002/03/14 01:26:49 millert Exp $ */
+/* $OpenBSD: bsdos_syscallargs.h,v 1.12 2003/01/30 03:32:44 millert Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.9 2002/03/14 00:42:24 miod Exp
+ * created from OpenBSD: syscalls.master,v 1.10 2003/01/30 03:29:48 millert Exp
*/
#ifdef syscallarg
@@ -159,8 +159,8 @@ 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 compat_43_sys_setreuid(struct proc *, void *, register_t *);
-int compat_43_sys_setregid(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 *);
diff --git a/sys/compat/bsdos/bsdos_syscalls.c b/sys/compat/bsdos/bsdos_syscalls.c
index d9cd3027d54..e89b332a86a 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.10 2002/03/14 00:44:20 miod Exp $ */
+/* $OpenBSD: bsdos_syscalls.c,v 1.11 2003/01/30 03:32:44 millert Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.9 2002/03/14 00:42:24 miod Exp
+ * created from OpenBSD: syscalls.master,v 1.10 2003/01/30 03:29:48 millert Exp
*/
char *bsdos_syscallnames[] = {
@@ -146,8 +146,8 @@ char *bsdos_syscallnames[] = {
"fchown", /* 123 = fchown */
"fchmod", /* 124 = fchmod */
"orecvfrom", /* 125 = orecvfrom */
- "osetreuid", /* 126 = osetreuid */
- "osetregid", /* 127 = osetregid */
+ "setreuid", /* 126 = setreuid */
+ "setregid", /* 127 = setregid */
"rename", /* 128 = rename */
"otruncate", /* 129 = otruncate */
"oftruncate", /* 130 = oftruncate */
diff --git a/sys/compat/bsdos/bsdos_sysent.c b/sys/compat/bsdos/bsdos_sysent.c
index 17be552aea9..cdf135ad8d7 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.10 2002/03/14 00:44:20 miod Exp $ */
+/* $OpenBSD: bsdos_sysent.c,v 1.11 2003/01/30 03:32:44 millert Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.9 2002/03/14 00:42:24 miod Exp
+ * created from OpenBSD: syscalls.master,v 1.10 2003/01/30 03:29:48 millert Exp
*/
#include <sys/param.h>
@@ -284,10 +284,10 @@ struct sysent bsdos_sysent[] = {
sys_fchmod }, /* 124 = fchmod */
{ 6, s(struct compat_43_sys_recvfrom_args),
compat_43_sys_recvfrom }, /* 125 = orecvfrom */
- { 2, s(struct compat_43_sys_setreuid_args),
- compat_43_sys_setreuid }, /* 126 = osetreuid */
- { 2, s(struct compat_43_sys_setregid_args),
- compat_43_sys_setregid }, /* 127 = osetregid */
+ { 2, s(struct sys_setreuid_args),
+ sys_setreuid }, /* 126 = setreuid */
+ { 2, s(struct sys_setregid_args),
+ sys_setregid }, /* 127 = setregid */
{ 2, s(struct sys_rename_args),
sys_rename }, /* 128 = rename */
{ 2, s(struct compat_43_sys_truncate_args),
diff --git a/sys/compat/freebsd/freebsd_syscall.h b/sys/compat/freebsd/freebsd_syscall.h
index 2e5200aba38..f6d58757e6d 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.20 2002/10/30 20:11:28 millert Exp $ */
+/* $OpenBSD: freebsd_syscall.h,v 1.21 2003/01/30 03:32:44 millert Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.19 2002/10/30 20:10:48 millert Exp
+ * created from OpenBSD: syscalls.master,v 1.20 2003/01/30 03:29:49 millert Exp
*/
/* syscall: "syscall" ret: "int" args: */
@@ -366,11 +366,11 @@
/* syscall: "orecvfrom" ret: "int" args: "int" "caddr_t" "size_t" "int" "caddr_t" "int *" */
#define FREEBSD_SYS_orecvfrom 125
-/* syscall: "osetreuid" ret: "int" args: "int" "int" */
-#define FREEBSD_SYS_osetreuid 126
+/* syscall: "setreuid" ret: "int" args: "uid_t" "uid_t" */
+#define FREEBSD_SYS_setreuid 126
-/* syscall: "osetregid" ret: "int" args: "int" "int" */
-#define FREEBSD_SYS_osetregid 127
+/* syscall: "setregid" ret: "int" args: "gid_t" "gid_t" */
+#define FREEBSD_SYS_setregid 127
/* syscall: "rename" ret: "int" args: "char *" "char *" */
#define FREEBSD_SYS_rename 128
diff --git a/sys/compat/freebsd/freebsd_syscallargs.h b/sys/compat/freebsd/freebsd_syscallargs.h
index 616435cb3f0..e18b7e95a15 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.22 2002/10/30 20:11:28 millert Exp $ */
+/* $OpenBSD: freebsd_syscallargs.h,v 1.23 2003/01/30 03:32:44 millert Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.19 2002/10/30 20:10:48 millert Exp
+ * created from OpenBSD: syscalls.master,v 1.20 2003/01/30 03:29:49 millert Exp
*/
#ifdef syscallarg
@@ -382,8 +382,8 @@ 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 compat_43_sys_setreuid(struct proc *, void *, register_t *);
-int compat_43_sys_setregid(struct proc *, void *, register_t *);
+int sys_setreuid(struct proc *, void *, register_t *);
+int sys_setregid(struct proc *, void *, register_t *);
int freebsd_sys_rename(struct proc *, void *, register_t *);
int compat_43_freebsd_sys_truncate(struct proc *, void *, register_t *);
int compat_43_sys_ftruncate(struct proc *, void *, register_t *);
diff --git a/sys/compat/freebsd/freebsd_syscalls.c b/sys/compat/freebsd/freebsd_syscalls.c
index 207ff44c12f..3c348fccf8c 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.20 2002/10/30 20:11:28 millert Exp $ */
+/* $OpenBSD: freebsd_syscalls.c,v 1.21 2003/01/30 03:32:44 millert Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.19 2002/10/30 20:10:48 millert Exp
+ * created from OpenBSD: syscalls.master,v 1.20 2003/01/30 03:29:49 millert Exp
*/
char *freebsd_syscallnames[] = {
@@ -146,8 +146,8 @@ char *freebsd_syscallnames[] = {
"fchown", /* 123 = fchown */
"fchmod", /* 124 = fchmod */
"orecvfrom", /* 125 = orecvfrom */
- "osetreuid", /* 126 = osetreuid */
- "osetregid", /* 127 = osetregid */
+ "setreuid", /* 126 = setreuid */
+ "setregid", /* 127 = setregid */
"rename", /* 128 = rename */
"otruncate", /* 129 = otruncate */
"oftruncate", /* 130 = oftruncate */
diff --git a/sys/compat/freebsd/freebsd_sysent.c b/sys/compat/freebsd/freebsd_sysent.c
index 5944082922b..5d1fc15656c 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.21 2002/10/30 20:11:28 millert Exp $ */
+/* $OpenBSD: freebsd_sysent.c,v 1.22 2003/01/30 03:32:44 millert Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.19 2002/10/30 20:10:48 millert Exp
+ * created from OpenBSD: syscalls.master,v 1.20 2003/01/30 03:29:49 millert Exp
*/
#include <sys/param.h>
@@ -286,10 +286,10 @@ struct sysent freebsd_sysent[] = {
sys_fchmod }, /* 124 = fchmod */
{ 6, s(struct compat_43_sys_recvfrom_args),
compat_43_sys_recvfrom }, /* 125 = orecvfrom */
- { 2, s(struct compat_43_sys_setreuid_args),
- compat_43_sys_setreuid }, /* 126 = osetreuid */
- { 2, s(struct compat_43_sys_setregid_args),
- compat_43_sys_setregid }, /* 127 = osetregid */
+ { 2, s(struct sys_setreuid_args),
+ sys_setreuid }, /* 126 = setreuid */
+ { 2, s(struct sys_setregid_args),
+ sys_setregid }, /* 127 = setregid */
{ 2, s(struct freebsd_sys_rename_args),
freebsd_sys_rename }, /* 128 = rename */
{ 2, s(struct compat_43_freebsd_sys_truncate_args),
diff --git a/sys/compat/netbsd/netbsd_syscall.h b/sys/compat/netbsd/netbsd_syscall.h
index fe3551add45..1b2c34cd3ee 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.18 2002/07/06 19:22:43 nordin Exp $ */
+/* $OpenBSD: netbsd_syscall.h,v 1.19 2003/01/30 03:32:44 millert Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.17 2002/07/06 19:14:20 nordin Exp
+ * created from; OpenBSD: syscalls.master,v 1.18 2003/01/30 03:29:49 millert Exp
*/
/* syscall: "syscall" ret: "int" args: "int" "..." */
@@ -366,11 +366,11 @@
#define NETBSD_SYS_orecvfrom 125
/* 125 is obsolete orecvfrom */
-/* syscall: "osetreuid" ret: "int" args: "int" "int" */
-#define NETBSD_SYS_osetreuid 126
+/* syscall: "setreuid" ret: "int" args: "uid_t" "uid_t" */
+#define NETBSD_SYS_setreuid 126
-/* syscall: "osetregid" ret: "int" args: "int" "int" */
-#define NETBSD_SYS_osetregid 127
+/* syscall: "setregid" ret: "int" args: "gid_t" "gid_t" */
+#define NETBSD_SYS_setregid 127
/* syscall: "rename" ret: "int" args: "char *" "char *" */
#define NETBSD_SYS_rename 128
diff --git a/sys/compat/netbsd/netbsd_syscallargs.h b/sys/compat/netbsd/netbsd_syscallargs.h
index 19cf1f8e60b..746fa36828b 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.19 2002/07/06 19:22:43 nordin Exp $ */
+/* $OpenBSD: netbsd_syscallargs.h,v 1.20 2003/01/30 03:32:44 millert Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.17 2002/07/06 19:14:20 nordin Exp
+ * created from; OpenBSD: syscalls.master,v 1.18 2003/01/30 03:29:49 millert Exp
*/
#ifdef syscallarg
@@ -362,8 +362,8 @@ int sys_fchmod(struct proc *, void *, register_t *);
int compat_43_sys_recvfrom(struct proc *, void *, register_t *);
#else
#endif
-int compat_43_sys_setreuid(struct proc *, void *, register_t *);
-int compat_43_sys_setregid(struct proc *, void *, register_t *);
+int sys_setreuid(struct proc *, void *, register_t *);
+int sys_setregid(struct proc *, void *, register_t *);
int netbsd_sys_rename(struct proc *, void *, register_t *);
int compat_43_netbsd_sys_truncate(struct proc *, void *, register_t *);
int compat_43_sys_ftruncate(struct proc *, void *, register_t *);
diff --git a/sys/compat/netbsd/netbsd_syscalls.c b/sys/compat/netbsd/netbsd_syscalls.c
index a1415197107..ed4a4f26ed7 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.18 2002/07/06 19:22:43 nordin Exp $ */
+/* $OpenBSD: netbsd_syscalls.c,v 1.19 2003/01/30 03:32:44 millert Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.17 2002/07/06 19:14:20 nordin Exp
+ * created from; OpenBSD: syscalls.master,v 1.18 2003/01/30 03:29:49 millert Exp
*/
char *netbsd_syscallnames[] = {
@@ -154,8 +154,8 @@ char *netbsd_syscallnames[] = {
#else
"#125 (obsolete orecvfrom)", /* 125 = obsolete orecvfrom */
#endif
- "osetreuid", /* 126 = osetreuid */
- "osetregid", /* 127 = osetregid */
+ "setreuid", /* 126 = setreuid */
+ "setregid", /* 127 = setregid */
"rename", /* 128 = rename */
"otruncate", /* 129 = otruncate */
"oftruncate", /* 130 = oftruncate */
diff --git a/sys/compat/netbsd/netbsd_sysent.c b/sys/compat/netbsd/netbsd_sysent.c
index 59a682cacab..92df27440b2 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.18 2002/07/06 19:22:43 nordin Exp $ */
+/* $OpenBSD: netbsd_sysent.c,v 1.19 2003/01/30 03:32:44 millert Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.17 2002/07/06 19:14:20 nordin Exp
+ * created from; OpenBSD: syscalls.master,v 1.18 2003/01/30 03:29:49 millert Exp
*/
#include <sys/param.h>
@@ -299,10 +299,10 @@ struct sysent netbsd_sysent[] = {
{ 0, 0,
sys_nosys }, /* 125 = obsolete orecvfrom */
#endif
- { 2, s(struct compat_43_sys_setreuid_args),
- compat_43_sys_setreuid }, /* 126 = osetreuid */
- { 2, s(struct compat_43_sys_setregid_args),
- compat_43_sys_setregid }, /* 127 = osetregid */
+ { 2, s(struct sys_setreuid_args),
+ sys_setreuid }, /* 126 = setreuid */
+ { 2, s(struct sys_setregid_args),
+ sys_setregid }, /* 127 = setregid */
{ 2, s(struct netbsd_sys_rename_args),
netbsd_sys_rename }, /* 128 = rename */
{ 2, s(struct compat_43_netbsd_sys_truncate_args),
diff --git a/sys/compat/osf1/osf1_syscall.h b/sys/compat/osf1/osf1_syscall.h
index 53cd655aa4a..1dd8aded43a 100644
--- a/sys/compat/osf1/osf1_syscall.h
+++ b/sys/compat/osf1/osf1_syscall.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: osf1_syscall.h,v 1.9 2001/08/26 04:14:26 deraadt Exp $ */
+/* $OpenBSD: osf1_syscall.h,v 1.10 2003/01/30 03:32:44 millert Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.8 2000/08/04 15:47:55 ericj Exp
+ * created from OpenBSD: syscalls.master,v 1.9 2003/01/30 03:29:49 millert Exp
*/
/* syscall: "syscall" ret: "int" args: */
@@ -279,6 +279,12 @@
/* syscall: "recvfrom" ret: "int" args: "int" "caddr_t" "size_t" "int" "caddr_t" "int *" */
#define OSF1_SYS_recvfrom 125
+/* syscall: "setreuid" ret: "int" args: "uid_t" "uid_t" */
+#define OSF1_SYS_setreuid 126
+
+/* syscall: "setregid" ret: "int" args: "gid_t" "gid_t" */
+#define OSF1_SYS_setregid 127
+
/* syscall: "rename" ret: "int" args: "const char *" "const char *" */
#define OSF1_SYS_rename 128
diff --git a/sys/compat/osf1/osf1_syscallargs.h b/sys/compat/osf1/osf1_syscallargs.h
index c3d002c2565..8ad36c5f30b 100644
--- a/sys/compat/osf1/osf1_syscallargs.h
+++ b/sys/compat/osf1/osf1_syscallargs.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: osf1_syscallargs.h,v 1.10 2002/03/14 01:26:50 millert Exp $ */
+/* $OpenBSD: osf1_syscallargs.h,v 1.11 2003/01/30 03:32:44 millert Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.8 2000/08/04 15:47:55 ericj Exp
+ * created from OpenBSD: syscalls.master,v 1.9 2003/01/30 03:29:49 millert Exp
*/
#ifdef syscallarg
@@ -423,6 +423,8 @@ int osf1_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 osf1_sys_truncate(struct proc *, void *, register_t *);
int osf1_sys_ftruncate(struct proc *, void *, register_t *);
diff --git a/sys/compat/osf1/osf1_syscalls.c b/sys/compat/osf1/osf1_syscalls.c
index 22c1debf775..337c845af3d 100644
--- a/sys/compat/osf1/osf1_syscalls.c
+++ b/sys/compat/osf1/osf1_syscalls.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: osf1_syscalls.c,v 1.9 2001/08/26 04:14:26 deraadt Exp $ */
+/* $OpenBSD: osf1_syscalls.c,v 1.10 2003/01/30 03:32:44 millert Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.8 2000/08/04 15:47:55 ericj Exp
+ * created from OpenBSD: syscalls.master,v 1.9 2003/01/30 03:29:49 millert Exp
*/
char *osf1_syscallnames[] = {
@@ -134,8 +134,8 @@ char *osf1_syscallnames[] = {
"fchown", /* 123 = fchown */
"fchmod", /* 124 = fchmod */
"recvfrom", /* 125 = recvfrom */
- "#126 (unimplemented setreuid)", /* 126 = unimplemented setreuid */
- "#127 (unimplemented setregid)", /* 127 = unimplemented setregid */
+ "setreuid", /* 126 = setreuid */
+ "setregid", /* 127 = setregid */
"rename", /* 128 = rename */
"truncate", /* 129 = truncate */
"ftruncate", /* 130 = ftruncate */
diff --git a/sys/compat/osf1/osf1_sysent.c b/sys/compat/osf1/osf1_sysent.c
index 75270c5c45e..0f01a50e8f1 100644
--- a/sys/compat/osf1/osf1_sysent.c
+++ b/sys/compat/osf1/osf1_sysent.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: osf1_sysent.c,v 1.9 2001/08/26 04:14:26 deraadt Exp $ */
+/* $OpenBSD: osf1_sysent.c,v 1.10 2003/01/30 03:32:44 millert Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.8 2000/08/04 15:47:55 ericj Exp
+ * created from OpenBSD: syscalls.master,v 1.9 2003/01/30 03:29:49 millert Exp
*/
#include <sys/param.h>
@@ -271,10 +271,10 @@ struct sysent osf1_sysent[] = {
sys_fchmod }, /* 124 = fchmod */
{ 6, s(struct compat_43_sys_recvfrom_args),
compat_43_sys_recvfrom }, /* 125 = recvfrom */
- { 0, 0,
- sys_nosys }, /* 126 = unimplemented setreuid */
- { 0, 0,
- sys_nosys }, /* 127 = unimplemented setregid */
+ { 2, s(struct sys_setreuid_args),
+ sys_setreuid }, /* 126 = setreuid */
+ { 2, s(struct sys_setregid_args),
+ sys_setregid }, /* 127 = setregid */
{ 2, s(struct sys_rename_args),
sys_rename }, /* 128 = rename */
{ 2, s(struct osf1_sys_truncate_args),
diff --git a/sys/compat/sunos/sunos_syscall.h b/sys/compat/sunos/sunos_syscall.h
index 80eecfa6005..6ff84e5a444 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.14 2002/03/14 00:44:20 miod Exp $ */
+/* $OpenBSD: sunos_syscall.h,v 1.15 2003/01/30 03:32:44 millert Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.12 2002/03/14 00:42:25 miod Exp
+ * created from OpenBSD: syscalls.master,v 1.13 2003/01/30 03:29:49 millert Exp
*/
/* syscall: "syscall" ret: "int" args: */
@@ -302,10 +302,10 @@
/* syscall: "recvfrom" ret: "int" args: "int" "caddr_t" "size_t" "int" "caddr_t" "int *" */
#define SUNOS_SYS_recvfrom 125
-/* syscall: "setreuid" ret: "int" args: "int" "int" */
+/* syscall: "setreuid" ret: "int" args: "uid_t" "uid_t" */
#define SUNOS_SYS_setreuid 126
-/* syscall: "setregid" ret: "int" args: "int" "int" */
+/* syscall: "setregid" ret: "int" args: "gid_t" "gid_t" */
#define SUNOS_SYS_setregid 127
/* syscall: "rename" ret: "int" args: "char *" "char *" */
diff --git a/sys/compat/sunos/sunos_syscallargs.h b/sys/compat/sunos/sunos_syscallargs.h
index f210dcfd856..d74cbd2889e 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.15 2002/03/14 01:26:50 millert Exp $ */
+/* $OpenBSD: sunos_syscallargs.h,v 1.16 2003/01/30 03:32:44 millert Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.12 2002/03/14 00:42:25 miod Exp
+ * created from OpenBSD: syscalls.master,v 1.13 2003/01/30 03:29:49 millert Exp
*/
#ifdef syscallarg
@@ -326,8 +326,8 @@ 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 compat_43_sys_setreuid(struct proc *, void *, register_t *);
-int compat_43_sys_setregid(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 *);
diff --git a/sys/compat/sunos/sunos_syscalls.c b/sys/compat/sunos/sunos_syscalls.c
index 98c6011470a..281387f8ab1 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.14 2002/03/14 00:44:20 miod Exp $ */
+/* $OpenBSD: sunos_syscalls.c,v 1.15 2003/01/30 03:32:44 millert Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.12 2002/03/14 00:42:25 miod Exp
+ * created from OpenBSD: syscalls.master,v 1.13 2003/01/30 03:29:49 millert Exp
*/
char *sunos_syscallnames[] = {
diff --git a/sys/compat/sunos/sunos_sysent.c b/sys/compat/sunos/sunos_sysent.c
index f0360b8d367..b100986b69b 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.14 2002/03/14 00:44:20 miod Exp $ */
+/* $OpenBSD: sunos_sysent.c,v 1.15 2003/01/30 03:32:44 millert Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.12 2002/03/14 00:42:25 miod Exp
+ * created from OpenBSD: syscalls.master,v 1.13 2003/01/30 03:29:49 millert Exp
*/
#include <sys/param.h>
@@ -276,10 +276,10 @@ struct sysent sunos_sysent[] = {
sys_fchmod }, /* 124 = fchmod */
{ 6, s(struct compat_43_sys_recvfrom_args),
compat_43_sys_recvfrom }, /* 125 = recvfrom */
- { 2, s(struct compat_43_sys_setreuid_args),
- compat_43_sys_setreuid }, /* 126 = setreuid */
- { 2, s(struct compat_43_sys_setregid_args),
- compat_43_sys_setregid }, /* 127 = setregid */
+ { 2, s(struct sys_setreuid_args),
+ sys_setreuid }, /* 126 = setreuid */
+ { 2, s(struct sys_setregid_args),
+ sys_setregid }, /* 127 = setregid */
{ 2, s(struct sys_rename_args),
sys_rename }, /* 128 = rename */
{ 2, s(struct compat_43_sys_truncate_args),
diff --git a/sys/compat/svr4/svr4_syscall.h b/sys/compat/svr4/svr4_syscall.h
index 7c4a4a2a8c1..3bf15be30d8 100644
--- a/sys/compat/svr4/svr4_syscall.h
+++ b/sys/compat/svr4/svr4_syscall.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: svr4_syscall.h,v 1.33 2002/07/06 19:22:43 nordin Exp $ */
+/* $OpenBSD: svr4_syscall.h,v 1.34 2003/01/30 03:32:44 millert Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.32 2002/07/06 19:14:20 nordin Exp
+ * created from OpenBSD: syscalls.master,v 1.33 2003/01/30 03:29:49 millert Exp
*/
/* syscall: "syscall" ret: "int" args: */
@@ -361,10 +361,10 @@
/* syscall: "facl" ret: "int" args: "int" "int" "int" "struct svr4_aclent *" */
#define SVR4_SYS_facl 200
-/* syscall: "setreuid" ret: "int" args: "int" "int" */
+/* syscall: "setreuid" ret: "int" args: "uid_t" "uid_t" */
#define SVR4_SYS_setreuid 202
-/* syscall: "setregid" ret: "int" args: "int" "int" */
+/* syscall: "setregid" ret: "int" args: "gid_t" "gid_t" */
#define SVR4_SYS_setregid 203
/* syscall: "getdents64" ret: "int" args: "int" "struct svr4_dirent64 *" "int" */
diff --git a/sys/compat/svr4/svr4_syscallargs.h b/sys/compat/svr4/svr4_syscallargs.h
index 10271ad7ceb..aabca755a8c 100644
--- a/sys/compat/svr4/svr4_syscallargs.h
+++ b/sys/compat/svr4/svr4_syscallargs.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: svr4_syscallargs.h,v 1.34 2002/07/06 19:22:43 nordin Exp $ */
+/* $OpenBSD: svr4_syscallargs.h,v 1.35 2003/01/30 03:32:44 millert Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.32 2002/07/06 19:14:20 nordin Exp
+ * created from OpenBSD: syscalls.master,v 1.33 2003/01/30 03:29:49 millert Exp
*/
#ifdef syscallarg
@@ -577,8 +577,8 @@ int sys_clock_settime(struct proc *, void *, register_t *);
int sys_clock_getres(struct proc *, void *, register_t *);
int sys_nanosleep(struct proc *, void *, register_t *);
int svr4_sys_facl(struct proc *, void *, register_t *);
-int compat_43_sys_setreuid(struct proc *, void *, register_t *);
-int compat_43_sys_setregid(struct proc *, void *, register_t *);
+int sys_setreuid(struct proc *, void *, register_t *);
+int sys_setregid(struct proc *, void *, register_t *);
int svr4_sys_getdents64(struct proc *, void *, register_t *);
int svr4_sys_mmap64(struct proc *, void *, register_t *);
int svr4_sys_stat64(struct proc *, void *, register_t *);
diff --git a/sys/compat/svr4/svr4_syscalls.c b/sys/compat/svr4/svr4_syscalls.c
index 04e7256175c..c7d2780c8f7 100644
--- a/sys/compat/svr4/svr4_syscalls.c
+++ b/sys/compat/svr4/svr4_syscalls.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: svr4_syscalls.c,v 1.33 2002/07/06 19:22:43 nordin Exp $ */
+/* $OpenBSD: svr4_syscalls.c,v 1.34 2003/01/30 03:32:44 millert Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.32 2002/07/06 19:14:20 nordin Exp
+ * created from OpenBSD: syscalls.master,v 1.33 2003/01/30 03:29:49 millert Exp
*/
char *svr4_syscallnames[] = {
diff --git a/sys/compat/svr4/svr4_sysent.c b/sys/compat/svr4/svr4_sysent.c
index d59dbff3ca7..55b98855812 100644
--- a/sys/compat/svr4/svr4_sysent.c
+++ b/sys/compat/svr4/svr4_sysent.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: svr4_sysent.c,v 1.33 2002/07/06 19:22:43 nordin Exp $ */
+/* $OpenBSD: svr4_sysent.c,v 1.34 2003/01/30 03:32:44 millert Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.32 2002/07/06 19:14:20 nordin Exp
+ * created from OpenBSD: syscalls.master,v 1.33 2003/01/30 03:29:49 millert Exp
*/
#include <sys/param.h>
@@ -442,10 +442,10 @@ struct sysent svr4_sysent[] = {
svr4_sys_facl }, /* 200 = facl */
{ 0, 0,
sys_nosys }, /* 201 = unimplemented door */
- { 2, s(struct compat_43_sys_setreuid_args),
- compat_43_sys_setreuid }, /* 202 = setreuid */
- { 2, s(struct compat_43_sys_setregid_args),
- compat_43_sys_setregid }, /* 203 = setregid */
+ { 2, s(struct sys_setreuid_args),
+ sys_setreuid }, /* 202 = setreuid */
+ { 2, s(struct sys_setregid_args),
+ sys_setregid }, /* 203 = setregid */
{ 0, 0,
sys_nosys }, /* 204 = unimplemented install_utrap */
{ 0, 0,
diff --git a/sys/compat/ultrix/ultrix_syscall.h b/sys/compat/ultrix/ultrix_syscall.h
index 54be687289d..00bd24db4b1 100644
--- a/sys/compat/ultrix/ultrix_syscall.h
+++ b/sys/compat/ultrix/ultrix_syscall.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: ultrix_syscall.h,v 1.9 2001/08/26 04:14:27 deraadt Exp $ */
+/* $OpenBSD: ultrix_syscall.h,v 1.10 2003/01/30 03:32:44 millert Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.7 1999/06/07 07:17:48 deraadt Exp
+ * created from OpenBSD: syscalls.master,v 1.8 2003/01/30 03:29:49 millert Exp
*/
/* syscall: "syscall" ret: "int" args: */
@@ -305,10 +305,10 @@
/* syscall: "recvfrom" ret: "int" args: "int" "caddr_t" "size_t" "int" "caddr_t" "int *" */
#define ULTRIX_SYS_recvfrom 125
-/* syscall: "setreuid" ret: "int" args: "int" "int" */
+/* syscall: "setreuid" ret: "int" args: "uid_t" "uid_t" */
#define ULTRIX_SYS_setreuid 126
-/* syscall: "setregid" ret: "int" args: "int" "int" */
+/* syscall: "setregid" ret: "int" args: "gid_t" "gid_t" */
#define ULTRIX_SYS_setregid 127
/* syscall: "rename" ret: "int" args: "char *" "char *" */
diff --git a/sys/compat/ultrix/ultrix_syscallargs.h b/sys/compat/ultrix/ultrix_syscallargs.h
index b0caec22c4b..5f67807b7ea 100644
--- a/sys/compat/ultrix/ultrix_syscallargs.h
+++ b/sys/compat/ultrix/ultrix_syscallargs.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: ultrix_syscallargs.h,v 1.10 2002/03/14 01:26:51 millert Exp $ */
+/* $OpenBSD: ultrix_syscallargs.h,v 1.11 2003/01/30 03:32:44 millert Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.7 1999/06/07 07:17:48 deraadt Exp
+ * created from OpenBSD: syscalls.master,v 1.8 2003/01/30 03:29:49 millert Exp
*/
#ifdef syscallarg
@@ -286,8 +286,8 @@ 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 compat_43_sys_setreuid(struct proc *, void *, register_t *);
-int compat_43_sys_setregid(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 *);
diff --git a/sys/compat/ultrix/ultrix_syscalls.c b/sys/compat/ultrix/ultrix_syscalls.c
index 762fa88a503..0916ea1755b 100644
--- a/sys/compat/ultrix/ultrix_syscalls.c
+++ b/sys/compat/ultrix/ultrix_syscalls.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: ultrix_syscalls.c,v 1.9 2001/08/26 04:14:27 deraadt Exp $ */
+/* $OpenBSD: ultrix_syscalls.c,v 1.10 2003/01/30 03:32:44 millert Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.7 1999/06/07 07:17:48 deraadt Exp
+ * created from OpenBSD: syscalls.master,v 1.8 2003/01/30 03:29:49 millert Exp
*/
char *ultrix_syscallnames[] = {
diff --git a/sys/compat/ultrix/ultrix_sysent.c b/sys/compat/ultrix/ultrix_sysent.c
index e10654f068c..08fe36d5efb 100644
--- a/sys/compat/ultrix/ultrix_sysent.c
+++ b/sys/compat/ultrix/ultrix_sysent.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: ultrix_sysent.c,v 1.9 2001/08/26 04:14:27 deraadt Exp $ */
+/* $OpenBSD: ultrix_sysent.c,v 1.10 2003/01/30 03:32:44 millert Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.7 1999/06/07 07:17:48 deraadt Exp
+ * created from OpenBSD: syscalls.master,v 1.8 2003/01/30 03:29:49 millert Exp
*/
#include <sys/param.h>
@@ -269,10 +269,10 @@ struct sysent ultrix_sysent[] = {
sys_fchmod }, /* 124 = fchmod */
{ 6, s(struct compat_43_sys_recvfrom_args),
compat_43_sys_recvfrom }, /* 125 = recvfrom */
- { 2, s(struct compat_43_sys_setreuid_args),
- compat_43_sys_setreuid }, /* 126 = setreuid */
- { 2, s(struct compat_43_sys_setregid_args),
- compat_43_sys_setregid }, /* 127 = setregid */
+ { 2, s(struct sys_setreuid_args),
+ sys_setreuid }, /* 126 = setreuid */
+ { 2, s(struct sys_setregid_args),
+ sys_setregid }, /* 127 = setregid */
{ 2, s(struct sys_rename_args),
sys_rename }, /* 128 = rename */
{ 2, s(struct compat_43_sys_truncate_args),
diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c
index 38ab634c898..86cedb94c6c 100644
--- a/sys/kern/syscalls.c
+++ b/sys/kern/syscalls.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: syscalls.c,v 1.58 2002/10/30 20:05:20 millert Exp $ */
+/* $OpenBSD: syscalls.c,v 1.59 2003/01/30 03:32:44 millert Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.51 2002/10/30 20:02:58 millert Exp
+ * created from; OpenBSD: syscalls.master,v 1.52 2003/01/30 03:29:49 millert Exp
*/
char *syscallnames[] = {
@@ -142,8 +142,8 @@ char *syscallnames[] = {
"fchown", /* 123 = fchown */
"fchmod", /* 124 = fchmod */
"compat_43_orecvfrom", /* 125 = compat_43 orecvfrom */
- "compat_43_osetreuid", /* 126 = compat_43 osetreuid */
- "compat_43_osetregid", /* 127 = compat_43 osetregid */
+ "setreuid", /* 126 = setreuid */
+ "setregid", /* 127 = setregid */
"rename", /* 128 = rename */
"compat_43_otruncate", /* 129 = compat_43 otruncate */
"compat_43_oftruncate", /* 130 = compat_43 oftruncate */
diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h
index e80c75ea829..c1af409324c 100644
--- a/sys/sys/syscall.h
+++ b/sys/sys/syscall.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: syscall.h,v 1.57 2002/10/30 20:05:20 millert Exp $ */
+/* $OpenBSD: syscall.h,v 1.58 2003/01/30 03:32:44 millert Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.51 2002/10/30 20:02:58 millert Exp
+ * created from; OpenBSD: syscalls.master,v 1.52 2003/01/30 03:29:49 millert Exp
*/
/* syscall: "syscall" ret: "int" args: "int" "..." */
@@ -340,9 +340,11 @@
/* 125 is compat_43 orecvfrom */
- /* 126 is compat_43 osetreuid */
+/* syscall: "setreuid" ret: "int" args: "uid_t" "uid_t" */
+#define SYS_setreuid 126
- /* 127 is compat_43 osetregid */
+/* syscall: "setregid" ret: "int" args: "gid_t" "gid_t" */
+#define SYS_setregid 127
/* syscall: "rename" ret: "int" args: "const char *" "const char *" */
#define SYS_rename 128
diff --git a/sys/sys/syscallargs.h b/sys/sys/syscallargs.h
index 7bf5c1124f2..420bd13bbb3 100644
--- a/sys/sys/syscallargs.h
+++ b/sys/sys/syscallargs.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: syscallargs.h,v 1.59 2002/10/30 20:05:20 millert Exp $ */
+/* $OpenBSD: syscallargs.h,v 1.60 2003/01/30 03:32:44 millert Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.51 2002/10/30 20:02:58 millert Exp
+ * created from; OpenBSD: syscalls.master,v 1.52 2003/01/30 03:29:49 millert Exp
*/
#ifdef syscallarg
@@ -569,12 +569,12 @@ struct compat_43_sys_recvfrom_args {
syscallarg(int *) fromlenaddr;
};
-struct compat_43_sys_setreuid_args {
+struct sys_setreuid_args {
syscallarg(uid_t) ruid;
syscallarg(uid_t) euid;
};
-struct compat_43_sys_setregid_args {
+struct sys_setregid_args {
syscallarg(gid_t) rgid;
syscallarg(gid_t) egid;
};
@@ -1328,8 +1328,8 @@ 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 compat_43_sys_setreuid(struct proc *, void *, register_t *);
-int compat_43_sys_setregid(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 *);