Date: Sun, 12 Mar 2006 15:25:10 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 93194 for review Message-ID: <200603121525.k2CFPAmm007435@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=93194 Change 93194 by rwatson@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 /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603121525.k2CFPAmm007435>