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:
Kevin F. Haggerty 2018-11-15 20:46:10 -07:00
parent b98cef71f1
commit 6189adadd4
No known key found for this signature in database
GPG Key ID: 6D95512933112729
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -26,6 +26,7 @@ allow init {
sysfs_sec_touchkey
sysfs_sec_tsp
sysfs_sensors
sysfs_socinfo
}:file setattr;
allow init {