sepolicy: allow rmt_storage to access sysfs_ssr context with read permission

This changes allow rmt_storage to read file
/sys/bus/msm_subsys/devices/subsys<>/name with sysfs_ssr context.
This is required by libmdmdetect to determine the presence of modem
subsystem at run time.

Change-Id: I29cb0c43cd4f428bfaa42fedb428afe759690fd0
This commit is contained in:
Ankit Jain 2017-12-06 23:48:48 +05:30 committed by Gerrit - the friendly Code Review server
parent f0fe2057d6
commit f7b98074bb

View file

@ -29,3 +29,6 @@ allow rmt_storage {
modem_block_device
ssd_block_device
}:blk_file rw_file_perms;
#sysfs_ssr
r_dir_file(rmt_storage, sysfs_ssr)