summaryrefslogtreecommitdiffstats
path: root/common/subsystem_ramdump.te
blob: c58fd18765fb394085ad65c8f02b6e8c19bc3af0 (plain)
1
2
3
4
5
6
7
8
9
10
11
type subsystem_ramdump, domain, domain_deprecated;
type subsystem_ramdump_exec, exec_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 w_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;
')