summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrulan Martin <trulanm@gmail.com>2016-07-04 15:10:12 -0400
committerTrulan Martin <trulanm@gmail.com>2016-07-04 17:32:59 -0700
commit827246522b6ca930556bb38da60ccaad8b80adeb (patch)
tree7d28089bcd7ec1f27a8a4ee416b4163abd8ea58e
parentfca1d413eef7f78cffbeb3f8477c971bd73a5c41 (diff)
downloaddevice_samsung_tuna-827246522b6ca930556bb38da60ccaad8b80adeb.zip
device_samsung_tuna-827246522b6ca930556bb38da60ccaad8b80adeb.tar.gz
device_samsung_tuna-827246522b6ca930556bb38da60ccaad8b80adeb.tar.bz2
SELinux: explicitly label mmcblk0p9 as radio
It seems that the sysfs label is not being recognized. Giving the block device a label directly seems to make toro's ril much happier. Change-Id: I83b41237255a1bfc3bd11f0bcabc86506676636b
-rw-r--r--sepolicy/file_contexts1
1 files changed, 1 insertions, 0 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index 35c90c9..1225c87 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -45,6 +45,7 @@
# Block devices
/dev/block/mmcblk0 u:object_r:root_block_device:s0
+/dev/block/mmcblk0p9 u:object_r:radio_device:s0
/dev/block/platform/omap/omap_hsmmc.0/by-name/boot u:object_r:boot_block_device:s0
/dev/block/platform/omap/omap_hsmmc.0/by-name/recovery u:object_r:recovery_block_device:s0
/dev/block/platform/omap/omap_hsmmc.0/by-name/cache u:object_r:cache_block_device:s0