summaryrefslogtreecommitdiffstats
path: root/common/subsystem_ramdump.te
blob: 82c81cafc5106c8abf48c7a894991be91cec5286 (plain)
1
2
3
4
5
6
7
8
9
10
11
type subsystem_ramdump, domain;
type subsystem_ramdump_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(subsystem_ramdump);

userdebug_or_eng(`
  allow subsystem_ramdump ramdump_device:chr_file r_file_perms;
  allow subsystem_ramdump sysfs:file rw_file_perms;
  allow subsystem_ramdump device:dir r_dir_perms;
  allow subsystem_ramdump ssr_ramdump_data_file:file create_file_perms;
  allow subsystem_ramdump ssr_ramdump_data_file:dir rw_dir_perms;
')