Searched refs:audit_fd (Results 1 – 4 of 4) sorted by relevance
/external/selinux/policycoreutils/setfiles/ |
D | setfiles.c | 121 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/dbus/bus/ |
D | selinux.c | 121 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() 1017 audit_close (audit_fd); in bus_selinux_shutdown()
|
/external/selinux/policycoreutils/newrole/ |
D | newrole.c | 652 int audit_fd = audit_open(); in send_audit_message() local 654 if (audit_fd < 0) { in send_audit_message() 665 rc = audit_log_user_message(audit_fd, AUDIT_USER_ROLE_CHANGE, in send_audit_message() 675 close(audit_fd); in send_audit_message()
|
/external/selinux/policycoreutils/semanage/ |
D | seobject.py | 91 self.audit_fd = audit.audit_open() 107 …self.log_list.append([self.audit_fd, audit.AUDIT_ROLE_ASSIGN, sys.argv[0], str(msg), name, 0, sena… 110 …self.log_list.append([self.audit_fd, audit.AUDIT_ROLE_REMOVE, sys.argv[0], str(msg), name, 0, sena…
|