aboutsummaryrefslogtreecommitdiffstats
path: root/sepolicy
diff options
context:
space:
mode:
authorAndreas Blaesius <skate4life@gmx.de>2016-09-11 18:04:24 +0200
committerAndreas Blaesius <skate4life@gmx.de>2016-09-14 20:20:02 +0200
commit2ac0bca2e295d6799b018a7010ea86c11e256d71 (patch)
tree5a572046b22a84f9a9e6c6c5559ab3d461eab493 /sepolicy
parent977a066fe18dad1e4e9ead1e56d9bdcece8e1f6b (diff)
downloaddevice_samsung_espresso3g-2ac0bca2e295d6799b018a7010ea86c11e256d71.zip
device_samsung_espresso3g-2ac0bca2e295d6799b018a7010ea86c11e256d71.tar.gz
device_samsung_espresso3g-2ac0bca2e295d6799b018a7010ea86c11e256d71.tar.bz2
sepolicy: MODEM block is defined in espressowifi repo
- MODEM block is a radio_device, adjust cpboot-dameon rules for it Change-Id: I3d653318f23d4d3a62365aa4e5f6cd7af66688aa
Diffstat (limited to 'sepolicy')
-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