hikey: give fsck access to cache and userdata
Add labels for cache and userdata partitions. Before this adjustment
hikey was incapable of running fsck on either.
Test: avc messages no longer occur, fsck success
Bug: 109821005
Change-Id: I41f26a8cb6a78ee354177f706f06988698667e48
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index c648f95..9d70393 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -22,3 +22,6 @@
/sys/devices/platform/ddr_devfreq/devfreq/ddr_devfreq/min_freq u:object_r:sysfs_power:s0
/sys/devices/platform/e82c0000\.mali/devfreq/e82c0000\.mali/min_freq u:object_r:sysfs_power:s0
+
+/dev/block/platform/soc/f723d000\.dwmmc0/by-name/cache u:object_r:cache_block_device:s0
+/dev/block/platform/soc/f723d000\.dwmmc0/by-name/userdata u:object_r:userdata_block_device:s0