• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1type hal_atrace_default, domain;
2hal_server_domain(hal_atrace_default, hal_atrace)
3
4type hal_atrace_default_exec, exec_type, vendor_file_type, file_type;
5init_daemon_domain(hal_atrace_default)
6
7# Allow atrace HAL to access tracefs.
8allow hal_atrace_default debugfs_tracing:dir r_dir_perms;
9allow hal_atrace_default debugfs_tracing:file rw_file_perms;
10
11userdebug_or_eng(`
12  allow hal_atrace_default debugfs_tracing_debug:dir r_dir_perms;
13  allow hal_atrace_default debugfs_tracing_debug:file rw_file_perms;
14')
15