PERFORCE change 103327 for review
Robert Watson
rwatson at FreeBSD.org
Sun Aug 6 11:05:40 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=103327
Change 103327 by rwatson at rwatson_zoo on 2006/08/06 11:03:57
Audit path/vnode argument to auditctl().
Affected files ...
.. //depot/projects/trustedbsd/audit3/sys/security/audit/audit_syscalls.c#20 edit
Differences ...
==== //depot/projects/trustedbsd/audit3/sys/security/audit/audit_syscalls.c#20 (text+ko) ====
@@ -612,8 +612,8 @@
if (uap->path == NULL)
return (EINVAL);
- NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF | MPSAFE, UIO_USERSPACE,
- uap->path, td);
+ NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF | MPSAFE | AUDITVNODE1,
+ UIO_USERSPACE, uap->path, td);
flags = AUDIT_OPEN_FLAGS;
error = vn_open(&nd, &flags, 0, -1);
if (error)
More information about the trustedbsd-cvs
mailing list