FreeBSD/sys/security/audit/audit_pipe.c
/*
 * Initialize the audit pipe system.
 */
Initialize the audit pipe system.
Initialize the audit pipe system .
static void
audit_pipe_init(void *unused)
{
	TAILQ_INIT(&audit_pipe_list);
	AUDIT_PIPE_LIST_LOCK_INIT();
	audit_pipe_dev = make_dev(&audit_pipe_cdevsw, 0, UID_ROOT,
		GID_WHEEL, 0600, "%s", AUDIT_PIPE_NAME);
	if (audit_pipe_dev == NULL) {
		AUDIT_PIPE_LIST_LOCK_DESTROY();
		panic("Can't initialize audit pipe subsystem");
	}
}
static void audit_pipe_init ( void * unused ) { TAILQ_INIT ( & audit_pipe_list ) ; AUDIT_PIPE_LIST_LOCK_INIT ( ) ; audit_pipe_dev = make_dev ( & audit_pipe_cdevsw , 0 , UID_ROOT , GID_WHEEL , 0600 , " " , AUDIT_PIPE_NAME ) ; if ( audit_pipe_dev == NULL ) { AUDIT_PIPE_LIST_LOCK_DESTROY ( ) ; panic ( " " ) ; } }
Initialize the audit pipe system.
Initialize the audit pipe system .