• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1type adsprpcd, domain;
2type adsprpcd_exec, exec_type, vendor_file_type, file_type;
3
4init_daemon_domain(adsprpcd)
5
6allow adsprpcd ion_device:chr_file r_file_perms;
7allow adsprpcd qdsp_device:chr_file r_file_perms;
8
9allow adsprpcd system_file:dir r_dir_perms;
10
11r_dir_file(adsprpcd, adsprpcd_file)
12
13allow adsprpcd sysfs_soc:dir search;
14allow adsprpcd sysfs_soc:file r_file_perms;
15
16allow adsprpcd persist_file:dir r_dir_perms;
17allow adsprpcd persist_sensors_file:dir create_dir_perms;
18allow adsprpcd persist_sensors_file:file create_file_perms;
19allow adsprpcd mnt_vendor_file:dir r_dir_perms;
20