summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-11-13 06:23:15 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-11-13 06:23:15 +0000
commiteac3a34b109e55a627f461ed8536fb49859f9905 (patch)
tree1ae4ca3916ea5a4787b4df8f6e6be3758a70805c
parentccf30082adcbe6ad97c63fbd025a39ca3d3115e2 (diff)
sync
-rw-r--r--sys/compat/svr4/svr4_syscall.h3
-rw-r--r--sys/compat/svr4/svr4_syscallargs.h12
-rw-r--r--sys/compat/svr4/svr4_syscalls.c4
-rw-r--r--sys/compat/svr4/svr4_sysent.c6
4 files changed, 18 insertions, 7 deletions
diff --git a/sys/compat/svr4/svr4_syscall.h b/sys/compat/svr4/svr4_syscall.h
index e6758a6d4f0..da871a4f54a 100644
--- a/sys/compat/svr4/svr4_syscall.h
+++ b/sys/compat/svr4/svr4_syscall.h
@@ -2,7 +2,7 @@
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.18 1997/08/29 20:44:26 kstailey Exp
+ * created from OpenBSD: syscalls.master,v 1.19 1997/11/13 06:23:06 deraadt Exp
*/
#define SVR4_SYS_syscall 0
@@ -123,6 +123,7 @@
#define SVR4_SYS_pread 173
#define SVR4_SYS_pwrite 174
#define SVR4_SYS_acl 185
+#define SVR4_SYS_auditsys 186
#define SVR4_SYS_clock_gettime 191
#define SVR4_SYS_clock_settime 192
#define SVR4_SYS_clock_getres 193
diff --git a/sys/compat/svr4/svr4_syscallargs.h b/sys/compat/svr4/svr4_syscallargs.h
index e2d08b080f7..4e4ea651880 100644
--- a/sys/compat/svr4/svr4_syscallargs.h
+++ b/sys/compat/svr4/svr4_syscallargs.h
@@ -2,7 +2,7 @@
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.18 1997/08/29 20:44:26 kstailey Exp
+ * created from OpenBSD: syscalls.master,v 1.19 1997/11/13 06:23:06 deraadt Exp
*/
#define syscallarg(x) union { x datum; register_t pad; }
@@ -340,6 +340,15 @@ struct svr4_sys_acl_args {
syscallarg(struct svr4_aclent *) buf;
};
+struct svr4_sys_auditsys_args {
+ syscallarg(int) code;
+ syscallarg(int) a1;
+ syscallarg(int) a2;
+ syscallarg(int) a3;
+ syscallarg(int) a4;
+ syscallarg(int) a5;
+};
+
struct svr4_sys_facl_args {
syscallarg(int) fd;
syscallarg(int) cmd;
@@ -477,6 +486,7 @@ int sys_setitimer __P((struct proc *, void *, register_t *));
int svr4_sys_pread __P((struct proc *, void *, register_t *));
int svr4_sys_pwrite __P((struct proc *, void *, register_t *));
int svr4_sys_acl __P((struct proc *, void *, register_t *));
+int svr4_sys_auditsys __P((struct proc *, void *, register_t *));
int sys_clock_gettime __P((struct proc *, void *, register_t *));
int sys_clock_settime __P((struct proc *, void *, register_t *));
int sys_clock_getres __P((struct proc *, void *, register_t *));
diff --git a/sys/compat/svr4/svr4_syscalls.c b/sys/compat/svr4/svr4_syscalls.c
index 1aa5ecc9f45..6e32d9727cf 100644
--- a/sys/compat/svr4/svr4_syscalls.c
+++ b/sys/compat/svr4/svr4_syscalls.c
@@ -2,7 +2,7 @@
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.18 1997/08/29 20:44:26 kstailey Exp
+ * created from OpenBSD: syscalls.master,v 1.19 1997/11/13 06:23:06 deraadt Exp
*/
char *svr4_syscallnames[] = {
@@ -208,7 +208,7 @@ char *svr4_syscallnames[] = {
"#183 (unimplemented)", /* 183 = unimplemented */
"#184 (unimplemented tsolsys)", /* 184 = unimplemented tsolsys */
"acl", /* 185 = acl */
- "#186 (unimplemented auditsys)", /* 186 = unimplemented auditsys */
+ "auditsys", /* 186 = auditsys */
"#187 (unimplemented processor_bind)", /* 187 = unimplemented processor_bind */
"#188 (unimplemented processor_info)", /* 188 = unimplemented processor_info */
"#189 (unimplemented p_online)", /* 189 = unimplemented p_online */
diff --git a/sys/compat/svr4/svr4_sysent.c b/sys/compat/svr4/svr4_sysent.c
index 82d42bc7eea..b1401e5e527 100644
--- a/sys/compat/svr4/svr4_sysent.c
+++ b/sys/compat/svr4/svr4_sysent.c
@@ -2,7 +2,7 @@
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.18 1997/08/29 20:44:26 kstailey Exp
+ * created from OpenBSD: syscalls.master,v 1.19 1997/11/13 06:23:06 deraadt Exp
*/
#include <sys/param.h>
@@ -431,8 +431,8 @@ struct sysent svr4_sysent[] = {
sys_nosys }, /* 184 = unimplemented tsolsys */
{ 4, s(struct svr4_sys_acl_args),
svr4_sys_acl }, /* 185 = acl */
- { 0, 0,
- sys_nosys }, /* 186 = unimplemented auditsys */
+ { 6, s(struct svr4_sys_auditsys_args),
+ svr4_sys_auditsys }, /* 186 = auditsys */
{ 0, 0,
sys_nosys }, /* 187 = unimplemented processor_bind */
{ 0, 0,