summaryrefslogtreecommitdiff
path: root/sepolicy/file_contexts
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2015-11-05 18:50:04 -0800
committerTao Bao <tbao@google.com>2015-11-05 18:50:04 -0800
commit9450a7d08ba933bcfa30c34372172479ac477348 (patch)
treeb6b31cd53c1b7cb9356e5dd60c5aa10b3d3c47fa /sepolicy/file_contexts
parente0185a87895e552bd6ff81dce6f5b0b62972e7f6 (diff)
downloadbullhead-9450a7d08ba933bcfa30c34372172479ac477348.tar.gz
selinux: Label misc block device.
Suppress the following warnings when calling uncrypt. avc: granted { write } for name="mmcblk0p23" dev="tmpfs" ino=10885 scontext=u:r:uncrypt:s0 tcontext=u:object_r:block_device:s0 tclass=blk_file avc: granted { write open } for path="/dev/block/mmcblk0p23" dev="tmpfs" ino=10885 scontext=u:r:uncrypt:s0 tcontext=u:object_r:block_device:s0 tclass=blk_file Bug: 25091603 Change-Id: Ib41a144e69d9b234ab88875734b28bc85e17a7ad
Diffstat (limited to 'sepolicy/file_contexts')
-rw-r--r--sepolicy/file_contexts1
1 files changed, 1 insertions, 0 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index 97eb97a..2ae8be8 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -50,6 +50,7 @@
/dev/block/platform/soc\.0/f9824900\.sdhci/by-name/ssd u:object_r:ssd_block_device:s0
/dev/block/platform/soc\.0/f9824900\.sdhci/by-name/metadata u:object_r:metadata_block_device:s0
/dev/block/platform/soc\.0/f9824900\.sdhci/by-name/recovery u:object_r:recovery_block_device:s0
+/dev/block/platform/soc\.0/f9824900\.sdhci/by-name/misc u:object_r:misc_block_device:s0
/dev/subsys_.* u:object_r:ssr_device:s0
/dev/ramdump_.* u:object_r:ramdump_device:s0