Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Aug 2008 01:17:20 GMT
From:      Diego Giagio <diego@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 147858 for review
Message-ID:  <200808200117.m7K1HKAf057640@repoman.freebsd.org>

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

Change 147858 by diego@diego_black on 2008/08/20 01:17:02

	AUDIT_CALL macro is useless now. Remove it.

Affected files ...

.. //depot/projects/soc2008/diego-audit/src/sys/security/audit/audit.h#17 edit

Differences ...

==== //depot/projects/soc2008/diego-audit/src/sys/security/audit/audit.h#17 (text) ====

@@ -252,14 +252,6 @@
 		audit_sysclose(td, fd);					\
 } while (0)
 
-/*
- * A macro to wrap audit functions.
- */
-#define AUDIT_CALL(func)	do {					\
-	if (audit_enabled)						\
-		func;	 						\
-} while (0)
-
 #else /* !AUDIT */
 
 #define	AUDIT_ARG(op, args...)	do {					\
@@ -280,9 +272,6 @@
 #define	AUDIT_SYSCLOSE(p, fd)	do {					\
 } while (0)
 
-#define AUDIT_CALL(func)	do {
-} while (0)
-
 #endif /* AUDIT */
 
 #endif /* !_SECURITY_AUDIT_KERNEL_H_ */



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