aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Smalley <sds@tycho.nsa.gov>2017-11-30 12:17:19 +0300
committermosimchah <mosimchah@gmail.com>2017-12-12 12:28:12 -0500
commita0c9789b51c71da2a1cb737d512a53b477e5056d (patch)
treea708bbfb5c633e55bd2d00fd87af32f365cbb22d
parent0445a3cca77091977acd3c52fb469a0a6c491035 (diff)
Assign specific type to metadata block device.HEADn7.1
This assigns the type defined by Id3bea28f5958086716cd3db055bea309b3b5fa5a to the block device file for the metadata partition specified via the encryptable= option for the userdata entry in fstab. Change-Id: If22babd008a2b23954790c293344769fc8ddd8fb Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
-rw-r--r--sepolicy/file_contexts3
1 files changed, 3 insertions, 0 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index 772b86d..4308874 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -27,3 +27,6 @@
/system/vendor/bin/brcm-uim-sysfs u:object_r:brcm_uim_exec:s0
/dev/ttyHS99 u:object_r:hci_attach_dev:s0
/dev/brcm_bt_drv u:object_r:hci_attach_dev:s0
+
+#Metadata block device
+/dev/block/platform/msm_sdcc\.1/by-name/encrypt u:object_r:metadata_block_device:s0