msm8974-common: sepolicy: Label sysfs_socinfo, resolve denials
* avc: denied { setattr } for name="soc_iddq" dev="sysfs" ino=5543 scontext=u:r:init:s0 tcontext=u:object_r:sysfs_socinfo:s0 tclass=file permissive=0 Change-Id: Ife248a9cccea19b09b931525606cf4c34344fd9f
This commit is contained in:
parent
b98cef71f1
commit
6189adadd4
2 changed files with 2 additions and 0 deletions
|
@ -48,6 +48,7 @@
|
|||
/sys/devices/msm_sdcc\.[0-9]/mmc_host/mmc[0-9]/mmc[0-9]:[0-9]+/block/mmcblk[0-9]/stat u:object_r:sysfs_disk_stat:s0
|
||||
|
||||
# sysfs - cpu/perf
|
||||
/sys/devices/system/soc/soc0(/.*)? u:object_r:sysfs_socinfo:s0
|
||||
/sys/module/msm_pm/modes/cpu[0-9](/.*)? u:object_r:sysfs_msm_perf:s0
|
||||
|
||||
# sysfs - graphics/panel
|
||||
|
|
|
@ -26,6 +26,7 @@ allow init {
|
|||
sysfs_sec_touchkey
|
||||
sysfs_sec_tsp
|
||||
sysfs_sensors
|
||||
sysfs_socinfo
|
||||
}:file setattr;
|
||||
|
||||
allow init {
|
||||
|
|
Loading…
Add table
Reference in a new issue