PERFORCE change 85464 for review
Robert Watson
rwatson at FreeBSD.org
Mon Oct 17 19:41:07 GMT 2005
http://perforce.freebsd.org/chv.cgi?CH=85464
Change 85464 by rwatson at rwatson_peppercorn on 2005/10/17 19:40:43
Audit requested mode arguments to mkdir() and mknod().
Affected files ...
.. //depot/projects/trustedbsd/audit3/sys/kern/vfs_syscalls.c#17 edit
Differences ...
==== //depot/projects/trustedbsd/audit3/sys/kern/vfs_syscalls.c#17 (text+ko) ====
@@ -1185,6 +1185,8 @@
struct nameidata nd;
int vfslocked;
+ AUDIT_ARG(mode, mode);
+
switch (mode & S_IFMT) {
case S_IFCHR:
case S_IFBLK:
@@ -3371,6 +3373,8 @@
struct nameidata nd;
int vfslocked;
+ AUDIT_ARG(mode, mode);
+
restart:
bwillwrite();
NDINIT(&nd, CREATE, LOCKPARENT | SAVENAME | MPSAFE | AUDITVNPATH1,
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list