Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Sep 2005 13:03:36 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 84201 for review
Message-ID:  <200509241303.j8OD3aAR089549@repoman.freebsd.org>

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

Change 84201 by rwatson@rwatson_peppercorn on 2005/09/24 13:02:49

	Wrap audit_arg_file() in AUDIT_ARG() so that a kernel without
	options AUDIT will compile.

Affected files ...

.. //depot/projects/trustedbsd/audit3/sys/kern/kern_descrip.c#9 edit

Differences ...

==== //depot/projects/trustedbsd/audit3/sys/kern/kern_descrip.c#9 (text+ko) ====

@@ -1090,7 +1090,7 @@
 	if ((error = fget(td, fd, &fp)) != 0)
 		return (error);
 
-	audit_arg_file(td->td_proc, fp);
+	AUDIT_ARG(file, td->td_proc, fp);
 
 	error = fo_stat(fp, sbp, td->td_ucred, td);
 	fdrop(fp, td);



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