summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2008-01-20 23:43:06 +0000
committerrwatson <rwatson@FreeBSD.org>2008-01-20 23:43:06 +0000
commitff05f9dd9d5e07a9935a79f22c27218973cc815d (patch)
treeda64e8048e6aa27cafcc541425db0533e215b8e4 /sys
parentc4193aa3c51415a1cefc6546e5ed81c77756c648 (diff)
downloadFreeBSD-src-ff05f9dd9d5e07a9935a79f22c27218973cc815d.zip
FreeBSD-src-ff05f9dd9d5e07a9935a79f22c27218973cc815d.tar.gz
Use audit events AUE_SHMOPEN and AUE_SHMUNLINK with new system calls
shm_open() and shm_unlink(). More auditing will need to be done for these calls to capture arguments properly.
Diffstat (limited to 'sys')
-rw-r--r--sys/compat/freebsd32/syscalls.master4
-rw-r--r--sys/kern/syscalls.master4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/compat/freebsd32/syscalls.master b/sys/compat/freebsd32/syscalls.master
index 923ab26..ce6f374 100644
--- a/sys/compat/freebsd32/syscalls.master
+++ b/sys/compat/freebsd32/syscalls.master
@@ -796,6 +796,6 @@
480 AUE_FTRUNCATE STD { int freebsd32_ftruncate(int fd, \
u_int32_t lengthlo, u_int32_t lengthhi); }
481 AUE_KILL NOPROTO { int thr_kill2(pid_t pid, long id, int sig); }
-482 AUE_NULL NOPROTO { int shm_open(const char *path, int flags, \
+482 AUE_SHMOPEN NOPROTO { int shm_open(const char *path, int flags, \
mode_t mode); }
-483 AUE_NULL NOPROTO { int shm_unlink(const char *path); }
+483 AUE_SHMUNLINK NOPROTO { int shm_unlink(const char *path); }
diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master
index e51d7b1..1609b28 100644
--- a/sys/kern/syscalls.master
+++ b/sys/kern/syscalls.master
@@ -847,8 +847,8 @@
479 AUE_TRUNCATE STD { int truncate(char *path, off_t length); }
480 AUE_FTRUNCATE STD { int ftruncate(int fd, off_t length); }
481 AUE_KILL STD { int thr_kill2(pid_t pid, long id, int sig); }
-482 AUE_NULL STD { int shm_open(const char *path, int flags, \
+482 AUE_SHMOPEN STD { int shm_open(const char *path, int flags, \
mode_t mode); }
-483 AUE_NULL STD { int shm_unlink(const char *path); }
+483 AUE_SHMUNLINK STD { int shm_unlink(const char *path); }
; Please copy any additions and changes to the following compatability tables:
; sys/compat/freebsd32/syscalls.master
OpenPOWER on IntegriCloud