From 4d491ca4bf33d57f9864a3e20b17fe6e183e7435 Mon Sep 17 00:00:00 2001 From: DylanAkp Date: Wed, 3 Apr 2024 11:49:10 +0530 Subject: [PATCH] sepolicy: Label vbmeta_vendor partition - needed for update_engine to write vbmeta_vendor Change-Id: Ied1708251f7a7a173038f332e83ed1cd0ac06012 Signed-off-by: Omkar Chandorkar --- sepolicy/generic/vendor/common/file_contexts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sepolicy/generic/vendor/common/file_contexts b/sepolicy/generic/vendor/common/file_contexts index d8adc326..7c9dd200 100644 --- a/sepolicy/generic/vendor/common/file_contexts +++ b/sepolicy/generic/vendor/common/file_contexts @@ -36,3 +36,9 @@ # Init /(vendor|system/vendor)/bin/init\.aospa\.perf\.common\.sh u:object_r:vendor_qti_init_shell_exec:s0 + +# UFS Devices +/dev/block/platform/soc/1d84000.ufshc/by-name/vbmeta_vendor_[ab] u:object_r:vendor_custom_ab_block_device:s0 + +#emmc node +/dev/block/platform/soc/7c4000.sdhci/by-name/vbmeta_vendor_[ab] u:object_r:vendor_custom_ab_block_device:s0