Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 May 2010 14:56:52 GMT
From:      Efstratios Karatzas <gpf@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 178718 for review
Message-ID:  <201005241456.o4OEuqFh055505@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@178718?ac=10

Change 178718 by gpf@gpf_desktop on 2010/05/24 14:56:19

	Forgot to update AUDIT_NFS_ENTER() at the "if not defined AUDIT" part 
	of the header.

Affected files ...

.. //depot/projects/soc2010/gpf_audit/freebsd/src/sys/security/audit/audit.h#5 edit

Differences ...

==== //depot/projects/soc2010/gpf_audit/freebsd/src/sys/security/audit/audit.h#5 (text) ====

@@ -260,9 +260,9 @@
 		audit_arg_socket((sodomain), (sotype), (soprotocol));	\
 } while (0)
 
-#define	AUDIT_ARG_SOCKADDR_IN(sin) do {				\
+#define	AUDIT_ARG_SOCKADDR_IN(sin) do {					\
 	if (AUDITING_TD(curthread))					\
-		audit_arg_sockaddr_in((sin));			\
+		audit_arg_sockaddr_in((sin));				\
 } while (0)
 
 #define	AUDIT_ARG_SUID(suid) do {					\
@@ -321,9 +321,9 @@
 		audit_syscall_exit(error, td);				\
 } while (0)
 
-#define	AUDIT_NFS_ENTER(proc, user_cr, td)	do {				\
+#define	AUDIT_NFS_ENTER(proc, user_cr, td)	do {			\
 	if (audit_enabled) {						\
-		audit_nfs_enter(proc, user_cr, td);				\
+		audit_nfs_enter(proc, user_cr, td);			\
 	}								\
 } while (0)
 
@@ -381,7 +381,7 @@
 
 #define	AUDIT_SYSCLOSE(p, fd)
 
-#define	AUDIT_NFS_ENTER(proc, td)
+#define	AUDIT_NFS_ENTER(proc, user_cr, td)
 #define	AUDIT_NFS_EXIT(error, td)
 
 #endif /* AUDIT */



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