PERFORCE change 83150 for review
Wayne Salamon
wsalamon at FreeBSD.org
Mon Sep 5 23:10:34 GMT 2005
http://perforce.freebsd.org/chv.cgi?CH=83150
Change 83150 by wsalamon at gretsch on 2005/09/05 23:10:24
Remove a kernel panic caused by the use of the incorrect field in the
file structure. However, this code will mostly go away if/when we
remove pathname auditing for fd-based ops.
Affected files ...
.. //depot/projects/trustedbsd/audit3/sys/security/audit/kern_audit.c#27 edit
Differences ...
==== //depot/projects/trustedbsd/audit3/sys/security/audit/kern_audit.c#27 (text+ko) ====
@@ -2438,7 +2438,7 @@
if (getvnode(td->td_proc->p_fd, fd, &fp) != 0)
return;
- audit_arg_vnpath((struct vnode *)fp->f_data, ARG_VNODE1);
+ audit_arg_vnpath((struct vnode *)fp->f_vnode, ARG_VNODE1);
fdrop(fp, td);
}
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