From cc633a09983301a834846d91dc2e9bff5091b371 Mon Sep 17 00:00:00 2001 From: danielml Date: Tue, 4 Apr 2023 17:47:06 +0200 Subject: [PATCH] sm6150-common: sepolicy: Label /dev/block/mmcblk0p1 as sdcard block device * Needed for DSU Change-Id: I25f7272621451723eb0fc72d9b772795a1f8ed51 Signed-off-by: danielml --- sepolicy/vendor/file_contexts | 1 + 1 file changed, 1 insertion(+) diff --git a/sepolicy/vendor/file_contexts b/sepolicy/vendor/file_contexts index 7ceef7b..b545797 100644 --- a/sepolicy/vendor/file_contexts +++ b/sepolicy/vendor/file_contexts @@ -2,6 +2,7 @@ /dev/socket/audio_hw_socket u:object_r:audio_socket:s0 # Block devices +/dev/block/mmcblk0p1 u:object_r:sdcard_block_device:s0 /dev/block/platform/soc/1d84000\.ufshc/by-name/cust u:object_r:system_block_device:s0 /dev/block/platform/soc/1d84000\.ufshc/by-name/system u:object_r:system_block_device:s0 /dev/block/platform/soc/1d84000\.ufshc/by-name/vendor u:object_r:system_block_device:s0