PERFORCE change 45157 for review

Robert Watson rwatson at
Sun Jan 11 19:25:31 GMT 2004

Change 45157 by rwatson at 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)
To Unsubscribe: send mail to majordomo at
with "unsubscribe trustedbsd-cvs" in the body of the message

More information about the trustedbsd-cvs mailing list