Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Sep 2005 23:10:34 GMT
From:      Wayne Salamon <wsalamon@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 83150 for review
Message-ID:  <200509052310.j85NAYbL027800@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=83150

Change 83150 by wsalamon@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);
 } 
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509052310.j85NAYbL027800>