aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sepolicy/cpboot-daemon.te2
-rw-r--r--sepolicy/file_contexts3
2 files changed, 1 insertions, 4 deletions
diff --git a/sepolicy/cpboot-daemon.te b/sepolicy/cpboot-daemon.te
index c1bea9d..b06c8f5 100644
--- a/sepolicy/cpboot-daemon.te
+++ b/sepolicy/cpboot-daemon.te
@@ -2,7 +2,7 @@ allow cpboot-daemon cbd_device:chr_file create_file_perms;
allow cpboot-daemon cgroup:dir { create add_name };
allow cpboot-daemon device:dir { write add_name };
allow cpboot-daemon efs_file:file { read write open };
-allow cpboot-daemon efs_block_device:blk_file r_file_perms;
+allow cpboot-daemon radio_device:blk_file r_file_perms;
allow cpboot-daemon radio_device:chr_file rw_file_perms;
allow cpboot-daemon self:capability setuid;
allow cpboot-daemon { block_device efs_file }:dir search;
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index 1606d79..4ad5625 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -12,6 +12,3 @@
# Radio Data
/data/misc/radio(/.*)? u:object_r:radio_data:s0
-
-# Block devices
-/dev/block/platform/omap/omap_hsmmc.1/by-name/MODEM u:object_r:radio_device:s0