hal_atrace_default.te 509 B

1234567891011121314
  1. type hal_atrace_default, domain;
  2. hal_server_domain(hal_atrace_default, hal_atrace)
  3. type hal_atrace_default_exec, exec_type, vendor_file_type, file_type;
  4. init_daemon_domain(hal_atrace_default)
  5. # Allow atrace HAL to access tracefs.
  6. allow hal_atrace_default debugfs_tracing:dir r_dir_perms;
  7. allow hal_atrace_default debugfs_tracing:file rw_file_perms;
  8. userdebug_or_eng(`
  9. allow hal_atrace_default debugfs_tracing_debug:dir r_dir_perms;
  10. allow hal_atrace_default debugfs_tracing_debug:file rw_file_perms;
  11. ')