Home
last modified time | relevance | path

Searched refs:audit_fd (Results 1 – 4 of 4) 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/selinux/policycoreutils/setfiles/
Dsetfiles.c121 int audit_fd = -1;
127 audit_fd = audit_open();
129 if (audit_fd < 0) {
134 rc = audit_log_user_message(audit_fd, AUDIT_FS_RELABEL,
141 audit_close(audit_fd);
/external/selinux/policycoreutils/newrole/
Dnewrole.c631 int audit_fd = audit_open(); in send_audit_message() local
633 if (audit_fd < 0) { in send_audit_message()
644 rc = audit_log_user_message(audit_fd, AUDIT_USER_ROLE_CHANGE, in send_audit_message()
654 close(audit_fd); in send_audit_message()
/external/selinux/policycoreutils/semanage/
Dseobject.py80 self.audit_fd = audit.audit_open()
92 …self.log_list.append([self.audit_fd, audit.AUDIT_ROLE_ASSIGN, sys.argv[0], str(msg), name, 0, sena…
95 …self.log_list.append([self.audit_fd, audit.AUDIT_ROLE_REMOVE, sys.argv[0], str(msg), name, 0, sena…