mirror of
https://github.com/S3NEO/android_device_samsung_msm8226-common.git
synced 2024-11-06 21:55:45 +00:00
msm8226-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
7973254314
commit
695a6ac727
2 changed files with 2 additions and 0 deletions
|
@ -50,6 +50,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
|
||||
|
|
|
@ -25,6 +25,7 @@ allow init {
|
|||
sysfs_sec_touchkey
|
||||
sysfs_sec_tsp
|
||||
sysfs_sensors
|
||||
sysfs_socinfo
|
||||
}:file setattr;
|
||||
|
||||
allow init {
|
||||
|
|
Loading…
Reference in a new issue