FreeBSD/sys/security/audit/audit_pipe.c
/*
 * Delete all per-auid masks on an audit pipe.
 */
Delete all per-auid masks on an audit pipe.
Delete all per - auid masks on an audit pipe .
static void
audit_pipe_preselect_flush_locked(struct audit_pipe *ap)
{
	struct audit_pipe_preselect *app;
	AUDIT_PIPE_LOCK_ASSERT(ap);
	while ((app = TAILQ_FIRST(&ap->ap_preselect_list)) != NULL) {
		TAILQ_REMOVE(&ap->ap_preselect_list, app, app_list);
		free(app, M_AUDIT_PIPE_PRESELECT);
	}
}
static void audit_pipe_preselect_flush_locked ( struct audit_pipe * ap ) { struct audit_pipe_preselect * app ; AUDIT_PIPE_LOCK_ASSERT ( ap ) ; while ( ( app = TAILQ_FIRST ( & ap -> ap_preselect_list ) ) != NULL ) { TAILQ_REMOVE ( & ap -> ap_preselect_list , app , app_list ) ; free ( app , M_AUDIT_PIPE_PRESELECT ) ; } }
Delete all per-auid masks on an audit pipe.
Delete all per - auid masks on an audit pipe .