aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/cnd.te
diff options
context:
space:
mode:
authorDavide Garberi <dade.garberi@gmail.com>2018-10-30 22:26:47 +0100
committerDavide Garberi <dade.garberi@gmail.com>2018-10-31 15:23:08 +0100
commitcb0e640f160da2f9ea55b7892e21a4fcfff6e0f4 (patch)
tree08f209a438ffadb4b7da0f724e5e0cb8f6bd080d /sepolicy/cnd.te
parent43413200cf620d3eb29b744d4dc8e8cb1a2d9ebe (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/cnd.te')
-rw-r--r--sepolicy/cnd.te3
1 files changed, 1 insertions, 2 deletions
diff --git a/sepolicy/cnd.te b/sepolicy/cnd.te
index 5b6938b..99ea2df 100644
--- a/sepolicy/cnd.te
+++ b/sepolicy/cnd.te
@@ -1,5 +1,4 @@
-allow cnd sysfs_msm_subsys:dir search;
+allow cnd { sysfs_msm_subsys sysfs_soc }:dir search;
allow cnd sysfs_msm_subsys:file { getattr open read setattr };
-allow cnd sysfs_soc:dir search;
allow cnd system_data_file:dir read;
allow cnd system_data_file:file { getattr ioctl open read };