aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/cnd.te
diff options
context:
space:
mode:
authorDavide Garberi <dade.garberi@gmail.com>2019-02-03 21:32:15 +0100
committerDavide Garberi <dade.garberi@gmail.com>2019-02-06 13:56:15 +0100
commitebadfdde778dc77d979df9b3178d190ae93ccfbc (patch)
tree9bebe62d85452fcca6a0cb543fe44c3c87dac1ce /sepolicy/cnd.te
parent61195c01b666bf3a8cae3f63a1c474bf8a257d65 (diff)
msm8996-common: sepolicy: Nuke the neverallows
* Also fix other general sepolicy errors after stopping to ignore the neverallows Change-Id: I1af3d9f57a0ca6e37420094a53f1c52127f3e187 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 e52c40b..6e24fc6 100644
--- a/sepolicy/cnd.te
+++ b/sepolicy/cnd.te
@@ -1,6 +1,5 @@
allow cnd { sysfs_msm_subsys sysfs_soc }:dir search;
allow cnd sysfs_msm_subsys:file { getattr open read setattr };
-allow cnd system_data_file:dir read;
-allow cnd system_data_file:file { getattr ioctl open read };
+allow cnd system_data_file:file { getattr ioctl read };
add_hwservice(cnd, hal_cne_hwservice)