summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2015-11-05 10:25:30 -0800
committerTao Bao <tbao@google.com>2015-11-05 10:26:29 -0800
commitdb8194b1b42b15dcd49f961160c44c5d01b7d16a (patch)
tree5bb63e5c1089e73adc3d3d641388b1ec2de69266
parent985cd9445549af1ee040d3d13cfceff5f5396b88 (diff)
downloadhammerhead-db8194b1b42b15dcd49f961160c44c5d01b7d16a.tar.gz
selinux: Label misc block device.
Suppress the warnings when calling uncrypt. avc: granted { write } for name="mmcblk0p15" dev="tmpfs" ino=7430 scontext=u:r:uncrypt:s0 tcontext=u:object_r:block_device:s0 tclass=blk_file avc: granted { write open } for name="mmcblk0p15" dev="tmpfs" ino=7430 scontext=u:r:uncrypt:s0 tcontext=u:object_r:block_device:s0 tclass=blk_file Bug: 25091603 Change-Id: I23f89c76811a8b19b871cc3eb7f09b236f687141
-rw-r--r--sepolicy/file_contexts1
1 files changed, 1 insertions, 0 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index c6b4e15..d6a337a 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -42,6 +42,7 @@
/dev/block/platform/msm_sdcc\.1/by-name/fsc u:object_r:modem_block_device:s0
/dev/block/platform/msm_sdcc\.1/by-name/fsg u:object_r:modem_block_device:s0
/dev/block/platform/msm_sdcc\.1/by-name/ssd u:object_r:ssd_block_device:s0
+/dev/block/platform/msm_sdcc\.1/by-name/misc u:object_r:misc_block_device:s0
# CPU governor controls
/dev/socket/mpdecision(/.*)? u:object_r:mpdecision_socket:s0