summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-11-13 06:23:07 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-11-13 06:23:07 +0000
commitccf30082adcbe6ad97c63fbd025a39ca3d3115e2 (patch)
treeaa53b48d841ea56e42397697fbdafd9394fb4a12
parent99c77b72ddb9bb9c0967cd6361c8832d8c8d8082 (diff)
fake auditsys()
-rw-r--r--sys/compat/svr4/svr4_misc.c14
-rw-r--r--sys/compat/svr4/syscalls.master5
2 files changed, 16 insertions, 3 deletions
diff --git a/sys/compat/svr4/svr4_misc.c b/sys/compat/svr4/svr4_misc.c
index 007ef621f33..33fa0fe455b 100644
--- a/sys/compat/svr4/svr4_misc.c
+++ b/sys/compat/svr4/svr4_misc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: svr4_misc.c,v 1.15 1997/11/13 06:21:31 deraadt Exp $ */
+/* $OpenBSD: svr4_misc.c,v 1.16 1997/11/13 06:23:05 deraadt Exp $ */
/* $NetBSD: svr4_misc.c,v 1.42 1996/12/06 03:22:34 christos Exp $ */
/*
@@ -1288,6 +1288,18 @@ svr4_sys_acl(p, v, retval)
}
int
+svr4_sys_auditsys(p, v, retval)
+ register struct proc *p;
+ void *v;
+ register_t *retval;
+{
+ /*
+ * XXX: Big brother is *not* watching.
+ */
+ return 0;
+}
+
+int
svr4_sys_memcntl(p, v, retval)
register struct proc *p;
void *v;
diff --git a/sys/compat/svr4/syscalls.master b/sys/compat/svr4/syscalls.master
index c7cc0cb2eee..87aaea71445 100644
--- a/sys/compat/svr4/syscalls.master
+++ b/sys/compat/svr4/syscalls.master
@@ -1,4 +1,4 @@
- $OpenBSD: syscalls.master,v 1.18 1997/08/29 20:44:26 kstailey Exp $
+ $OpenBSD: syscalls.master,v 1.19 1997/11/13 06:23:06 deraadt Exp $
; $NetBSD: syscalls.master,v 1.17 1996/02/10 17:12:51 christos Exp $
; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
@@ -292,7 +292,8 @@
184 UNIMPL tsolsys
185 STD { int svr4_sys_acl(char *path, int cmd, int num, \
struct svr4_aclent *buf); }
-186 UNIMPL auditsys
+186 STD { int svr4_sys_auditsys(int code, int a1, int a2, \
+ int a3, int a4, int a5); }
187 UNIMPL processor_bind
188 UNIMPL processor_info
189 UNIMPL p_online