Allowed ssr_setup to access sysfs_msm_subsys for user builds.

Allow ssr_setup to access sysfs_msm_subsys and enable subsystem
restart properly for user builds. Otherwise, all subsystem issues
are translated into kernel panics.

BUG: 69001795
Change-Id: I0e3cf53b92f04433d356fdeb1018bb18a9a954a6
This commit is contained in:
Siyuan Zhou
2017-11-07 14:47:09 -08:00
parent a66abec0b9
commit 8da95d2f14

View File

@@ -3,8 +3,6 @@ type ssr_setup_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(ssr_setup);
userdebug_or_eng(`
allow ssr_setup sysfs_msm_subsys:dir r_dir_perms;
allow ssr_setup sysfs_msm_subsys:file rw_file_perms;
allow ssr_setup sysfs_msm_subsys:lnk_file read;
')
allow ssr_setup sysfs_msm_subsys:lnk_file read;