Home
last modified time | relevance | path

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

/external/openssh/
Daudit-linux.c45 int audit_fd, rc, saved_errno; in linux_audit_record_event() local
47 if ((audit_fd = audit_open()) < 0) { in linux_audit_record_event()
54 rc = audit_log_acct_message(audit_fd, AUDIT_USER_LOGIN, in linux_audit_record_event()
58 close(audit_fd); in linux_audit_record_event()
/external/selinux/policycoreutils/setfiles/
Dsetfiles.c114 int audit_fd = -1;
120 audit_fd = audit_open();
122 if (audit_fd < 0) {
127 rc = audit_log_user_message(audit_fd, AUDIT_FS_RELABEL,
137 audit_close(audit_fd);
/external/selinux/policycoreutils/newrole/
Dnewrole.c651 int audit_fd = audit_open(); in send_audit_message() local
653 if (audit_fd < 0) { in send_audit_message()
664 rc = audit_log_user_message(audit_fd, AUDIT_USER_ROLE_CHANGE, in send_audit_message()
674 close(audit_fd); in send_audit_message()
/external/selinux/python/semanage/
Dseobject.py109 self.audit_fd = audit.audit_open()
126 …self.log_list.append([self.audit_fd, audit.AUDIT_ROLE_ASSIGN, sys.argv[0], str(msg), name, 0, sena…
129 …self.log_list.append([self.audit_fd, audit.AUDIT_ROLE_REMOVE, sys.argv[0], str(msg), name, 0, sena…
132 …self.log_change_list.append([self.audit_fd, audit.AUDIT_USER_MAC_CONFIG_CHANGE, str(msg), "semanag…