Home
last modified time | relevance | path

Searched refs:auditing_state (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/openbsm/bin/auditd/
H A Dauditd_fbsd.c52 static int auditing_state = AUD_STATE_INIT; variable
141 auditing_state = AUD_STATE_DISABLED; in init_audit_state()
144 auditing_state = AUD_STATE_DISABLED; in init_audit_state()
146 auditing_state = AUD_STATE_ENABLED; in init_audit_state()
155 int old_auditing_state = auditing_state; in auditd_set_state()
160 auditing_state = state; in auditd_set_state()
162 if (auditing_state != old_auditing_state) { in auditd_set_state()
163 if (auditing_state == AUD_STATE_ENABLED) in auditd_set_state()
165 if (auditing_state == AUD_STATE_DISABLED) in auditd_set_state()
177 if (auditing_state == AUD_STATE_INIT) in auditd_get_state()
[all …]
H A Dauditd_darwin.c71 static int auditing_state = AUD_STATE_INIT; variable
186 auditing_state = AUD_STATE_DISABLED; in init_audit_state()
189 auditing_state = AUD_STATE_DISABLED; in init_audit_state()
191 auditing_state = AUD_STATE_ENABLED; in init_audit_state()
201 int old_auditing_state = auditing_state; in auditd_set_state()
206 auditing_state = state; in auditd_set_state()
208 if (auditing_state != old_auditing_state) { in auditd_set_state()
211 if (auditing_state == AUD_STATE_ENABLED) in auditd_set_state()
213 if (auditing_state == AUD_STATE_DISABLED) in auditd_set_state()
225 if (auditing_state == AUD_STATE_INIT) { in auditd_get_state()
[all …]