diff options
author | Ondrej Hlavac <hlavaco@gmail.com> | 2017-03-12 13:38:57 +0100 |
---|---|---|
committer | davidevinavil <davidevinavil@gmail.com> | 2017-04-07 13:23:36 +0200 |
commit | bae35161c3a0277e72b69353e3c78e2f4981987f (patch) | |
tree | 00cdac4b8db866892155da61236a966f70e31413 | |
parent | 2ff7a2dbc6308cd2b46db5e071211fde423cf4ce (diff) |
sepolicy: adress thermal engine denial
[ 8.023939] type=1400 audit(24063124.567:6): avc: denied { open } for pid=708 comm="thermal-engine" path="/sys/devices/soc/6a00000.ssusb/power_supply/usb/type" dev="sysfs" ino=39804 scontext=u:r:thermal-engine:s0 tcontext=u:object_r:sysfs_usb_supply:s0 tclass=file permissive=0
-rw-r--r-- | sepolicy/thermal-engine.te | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sepolicy/thermal-engine.te b/sepolicy/thermal-engine.te index 2797e38..2e659b9 100644 --- a/sepolicy/thermal-engine.te +++ b/sepolicy/thermal-engine.te @@ -4,4 +4,4 @@ allow thermal-engine sysfs_kgsl:file r_file_perms; allow thermal-engine system_data_file:dir w_dir_perms; allow thermal-engine thermal_data_file:file create_file_perms; allow thermal-engine sysfs_usb_supply:dir search; -allow thermal-engine sysfs_usb_supply:file read; +allow thermal-engine sysfs_usb_supply:file { read open }; |