FreeBSD/sys/security/audit/audit_pipe.c
/*
 * Detach kqueue state from audit pipe.
 */
Detach kqueue state from audit pipe.
Detach kqueue state from audit pipe .
static void
audit_pipe_kqdetach(struct knote *kn)
{
	struct audit_pipe *ap;
	ap = (struct audit_pipe *)kn->kn_hook;
	AUDIT_PIPE_LOCK(ap);
	knlist_remove(&ap->ap_selinfo.si_note, kn, 1);
	AUDIT_PIPE_UNLOCK(ap);
}
static void audit_pipe_kqdetach ( struct knote * kn ) { struct audit_pipe * ap ; ap = ( struct audit_pipe * ) kn -> kn_hook ; AUDIT_PIPE_LOCK ( ap ) ; knlist_remove ( & ap -> ap_selinfo . si_note , kn , 1 ) ; AUDIT_PIPE_UNLOCK ( ap ) ; }
Detach kqueue state from audit pipe.
Detach kqueue state from audit pipe .