summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2004-10-23 20:00:43 +0000
committerrwatson <rwatson@FreeBSD.org>2004-10-23 20:00:43 +0000
commitef214ac3adb9d8d7e631fce9119d3e666b03e439 (patch)
tree79721ef8606941ca31c924b8b90add094b2739ee
parent1edd2ee1bb46a15f086cffa054b6d82779bd246b (diff)
downloadFreeBSD-src-ef214ac3adb9d8d7e631fce9119d3e666b03e439.zip
FreeBSD-src-ef214ac3adb9d8d7e631fce9119d3e666b03e439.tar.gz
Add system call place-holders for the following system calls
implementing Sun's BSM Audit API on FreeBSD: audit() auditon() getauid() setauid() getaudit() setaudit() getaudit_addr() setaudit_addr() auditctl() Submitted by: Wayne Salamon <wsalamon at computer dot org> Obtained from: TrustedBSD Project
-rw-r--r--sys/kern/syscalls.master11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master
index 789fd2d..0bf169e 100644
--- a/sys/kern/syscalls.master
+++ b/sys/kern/syscalls.master
@@ -632,5 +632,16 @@
442 MSTD { int thr_suspend(const struct timespec *timeout); }
443 MSTD { int thr_wake(long id); }
444 MSTD { int kldunloadf(int fileid, int flags); }
+445 MNOSTD { int audit(const void *record, u_int length); }
+446 MNOSTD { int auditon(int cmd, void *data, u_int length); }
+447 MNOSTD { int getauid(uid_t *auid); }
+448 MNOSTD { int setauid(uid_t *auid); }
+449 MNOSTD { int getaudit(struct auditinfo *auditinfo); }
+450 MNOSTD { int setaudit(struct auditinfo *auditinfo); }
+451 MNOSTD { int getaudit_addr(struct auditinfo_addr \
+ *auditinfo_addr, u_int length); }
+452 MNOSTD { int setaudit_addr(struct auditinfo_addr \
+ *auditinfo_addr, u_int length); }
+453 MNOSTD { int auditctl(int cmd, char *path); }
; Please copy any additions and changes to the following compatability tables:
; sys/compat/freebsd32/syscalls.master
OpenPOWER on IntegriCloud