auditctl.te 589 B

123456789101112131415161718
  1. #
  2. # /system/bin/auditctl executed for logd
  3. #
  4. # Performs maintenance of the kernel auditing system, including
  5. # setting rate limits on SELinux denials.
  6. #
  7. type auditctl, domain, coredomain;
  8. type auditctl_exec, file_type, system_file_type, exec_type;
  9. # Uncomment the line below to put this domain into permissive
  10. # mode. This helps speed SELinux policy development.
  11. # userdebug_or_eng(`permissive auditctl;')
  12. init_daemon_domain(auditctl)
  13. allow auditctl self:global_capability_class_set audit_control;
  14. allow auditctl self:netlink_audit_socket { create_socket_perms_no_ioctl nlmsg_write };