PERFORCE change 147858 for review
Diego Giagio
diego at FreeBSD.org
Wed Aug 20 01:17:21 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=147858
Change 147858 by diego at 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_ */
More information about the p4-projects
mailing list