summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Smalley <sds@tycho.nsa.gov>2014-09-24 15:26:18 -0400
committerStephen Smalley <sds@tycho.nsa.gov>2014-09-24 15:26:18 -0400
commit956021d1916750029e3d275c4cc771559a3820ea (patch)
treea9597f320f2dfd22bdef9bc7ec80dbf44b8fba0a
parent7e5f0f313819ffa3b45cd4208ab552f446c33936 (diff)
downloadmako-956021d1916750029e3d275c4cc771559a3820ea.tar.gz
Assign specific types to userdata and cache block devices.
This assigns the types defined by I99d24f06506f51ebf1d186d9c393b3cad60e98d7 to the block device files for userdata and cache for this device. Change-Id: I8d957e60cbbfefbeefbbdba82896e94589f2c115 Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
-rw-r--r--sepolicy/file_contexts2
1 files changed, 2 insertions, 0 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index ca7e215..fbdbdbd 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -81,6 +81,8 @@
# Block labeling
/dev/block/mmcblk0p[89] u:object_r:efs_block_device:s0
/dev/block/mmcblk0 u:object_r:root_block_device:s0
+/dev/block/platform/msm_sdcc\.1/by-name/userdata u:object_r:userdata_block_device:s0
+/dev/block/platform/msm_sdcc\.1/by-name/cache u:object_r:cache_block_device:s0
/data/cam_socket[0-9] u:object_r:camera_socket:s0
/data/app/sensor_ctl_socket u:object_r:sensors_socket:s0