Add SELinux support for factory reset protection
Map factory reset protection into SELinux sepolicy/file_contexts
Change-Id: Ibd3198cc38e0446e1862b178f8d4c5ae8f8dc0c9
CRs-Fixed: 1078078
diff --git a/msm8909/file_contexts b/msm8909/file_contexts
index 424d82b..642cfb5 100644
--- a/msm8909/file_contexts
+++ b/msm8909/file_contexts
@@ -35,6 +35,7 @@
/dev/block/platform/soc.0/7824900.sdhci/by-name/misc u:object_r:misc_block_device:s0
/dev/block/platform/soc.0/7824900.sdhci/by-name/userdata u:object_r:userdata_block_device:s0
/dev/block/platform/soc.0/7824900.sdhci/by-name/logdump u:object_r:logdump_partition:s0
+/dev/block/platform/soc.0/7824900.sdhci/by-name/config u:object_r:frp_block_device:s0
/dev/block/mmcblk0 u:object_r:root_block_device:s0
/dev/block/mmcblk0rpmb u:object_r:rpmb_device:s0
diff --git a/msm8916/file_contexts b/msm8916/file_contexts
index 31788b3..c59fe8f 100644
--- a/msm8916/file_contexts
+++ b/msm8916/file_contexts
@@ -36,6 +36,7 @@
/dev/block/platform/soc.0/7824900.sdhci/by-name/misc u:object_r:misc_block_device:s0
/dev/block/platform/soc.0/7824900.sdhci/by-name/userdata u:object_r:userdata_block_device:s0
/dev/block/platform/soc.0/7824900.sdhci/by-name/logdump u:object_r:logdump_partition:s0
+/dev/block/platform/soc.0/7824900.sdhci/by-name/config u:object_r:frp_block_device:s0
/dev/block/mmcblk0 u:object_r:root_block_device:s0
/dev/block/mmcblk0rpmb u:object_r:rpmb_device:s0
/dev/block/platform/soc.0/7824900.sdhci/by-name/boot u:object_r:boot_block_device:s0