Date: Sun, 11 Jan 2004 11:25:31 -0800 (PST) From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 45157 for review Message-ID: <200401111925.i0BJPV8h069335@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=45157 Change 45157 by rwatson@rwatson_paprika on 2004/01/11 11:25:31 Hook up audit_init() to its SYSINIT so that the audit system is started at boot. Affected files ... .. //depot/projects/trustedbsd/audit2/sys/security/audit/audit.c#7 edit Differences ... ==== //depot/projects/trustedbsd/audit2/sys/security/audit/audit.c#7 (text+ko) ==== @@ -29,6 +29,7 @@ #include <sys/condvar.h> #include <sys/fcntl.h> #include <sys/ipc.h> +#include <sys/kernel.h> #include <sys/kthread.h> #include <sys/namei.h> #include <sys/proc.h> @@ -421,6 +422,8 @@ panic("audit_init: kthread_create returned %d", error); } +SYSINIT(audit_init, SI_SUB_AUDIT, SI_ORDER_FIRST, audit_init, NULL) + static void audit_rotate_vnode(struct ucred *cred, struct vnode *vp) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401111925.i0BJPV8h069335>