type ssr, domain, device_domain_deprecated;
type ssr_exec, exec_type, file_type;

# Started by init
init_daemon_domain(ssr)

userdebug_or_eng(`
  # read the contents of the /dev directory
  allow ssr device:dir r_dir_perms;
  allow ssr ramdump_device:chr_file r_file_perms;

  allow ssr ssr_data_file:dir rw_dir_perms;
  allow ssr ssr_data_file:file create_file_perms;
  allow ssr sysfs_msm_subsys:dir r_dir_perms;
  allow ssr sysfs_msm_subsys:lnk_file r_file_perms;
')