Home
last modified time | relevance | path

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

/external/openssh/
Daudit-linux.c46 int audit_fd, rc, saved_errno; in linux_audit_record_event() local
48 audit_fd = audit_open(); in linux_audit_record_event()
49 if (audit_fd < 0) { in linux_audit_record_event()
56 rc = audit_log_acct_message(audit_fd, AUDIT_USER_LOGIN, in linux_audit_record_event()
60 close(audit_fd); in linux_audit_record_event()
/external/dbus/bus/
Dselinux.c121 static int audit_fd = -1; variable
128 audit_fd = audit_open (); in bus_selinux_audit_init()
130 if (audit_fd < 0) in bus_selinux_audit_init()
151 if (audit_fd >= 0) in log_callback()
160 audit_log_user_avc_message(audit_fd, AUDIT_USER_AVC, buf, NULL, NULL, in log_callback()
1018 audit_close (audit_fd); in bus_selinux_shutdown()