diff options
author | Davide Garberi <dade.garberi@gmail.com> | 2018-10-30 22:26:47 +0100 |
---|---|---|
committer | Davide Garberi <dade.garberi@gmail.com> | 2018-10-31 15:23:08 +0100 |
commit | cb0e640f160da2f9ea55b7892e21a4fcfff6e0f4 (patch) | |
tree | 08f209a438ffadb4b7da0f724e5e0cb8f6bd080d /sepolicy/thermal-engine.te | |
parent | 43413200cf620d3eb29b744d4dc8e8cb1a2d9ebe (diff) |
msm8996-common: sepolicy: Cleanup
* Mostly squash the various macros
Change-Id: I1e71a6d728cd4d7e7be057604978264c429aed90
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
Diffstat (limited to 'sepolicy/thermal-engine.te')
-rw-r--r-- | sepolicy/thermal-engine.te | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/sepolicy/thermal-engine.te b/sepolicy/thermal-engine.te index ffd8a30..5c1b2cd 100644 --- a/sepolicy/thermal-engine.te +++ b/sepolicy/thermal-engine.te @@ -1,13 +1,4 @@ typeattribute thermal-engine data_between_core_and_vendor_violators; -allow thermal-engine sysfs_msm_subsys:dir search; -allow thermal-engine sysfs_msm_subsys:file { getattr open read setattr }; -allow thermal-engine sysfs_usb_supply:dir search; -allow thermal-engine sysfs_usb_supply:file r_file_perms; - -allow thermal-engine sysfs_soc:dir search; - -allow thermal-engine sysfs_msm_core:dir search; -allow thermal-engine sysfs_msm_core:file r_file_perms; - -allow thermal-engine sysfs_rmtfs:dir search; +allow thermal-engine { sysfs_msm_core sysfs_msm_subsys sysfs_usb_supply }:file r_file_perms; +allow thermal-engine { sysfs_soc sysfs_msm_core sysfs_rmtfs sysfs_msm_subsys sysfs_usb_supply }:dir search; |