PERFORCE change 93194 for review

Robert Watson rwatson at FreeBSD.org
Sun Mar 12 15:25:12 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=93194

Change 93194 by rwatson at rwatson_zoo on 2006/03/12 15:24:27

	Add a top-level security.audit sysctl node, which will be present
	regardless of audit compiled in.  User space applications will be
	able to test for the node to decide whether or not to invoke audit
	system calls, which may improve the behavior of applications like
	login when running on older kernels (unsupported, but often used
	configuration).

Affected files ...

.. //depot/projects/trustedbsd/audit3/sys/security/audit/audit_syscalls.c#9 edit

Differences ...

==== //depot/projects/trustedbsd/audit3/sys/security/audit/audit_syscalls.c#9 (text+ko) ====

@@ -30,6 +30,7 @@
 #include <sys/param.h>
 #include <sys/namei.h>
 #include <sys/proc.h>
+#include <sys/sysctl.h>
 #include <sys/sysproto.h>
 #include <sys/systm.h>
 #include <sys/vnode.h>
@@ -39,6 +40,10 @@
 #include <security/audit/audit.h>
 #include <security/audit/audit_private.h>
 
+SYSCTL_DECL(_security);
+SYSCTL_NODE(_security, OID_AUTO, audit, CTLFLAG_RW, 0,
+    "TrustedBSD audit controls");
+
 #ifdef AUDIT
 
 /*


More information about the p4-projects mailing list