From aea32999249081ee90056a652b16a266945c8e2e Mon Sep 17 00:00:00 2001 From: Vaisakh Murali Date: Sun, 25 Sep 2022 17:36:10 +0100 Subject: [PATCH] sepolicy: Build with broken namespaces The userspace blobs that we have are proprietary. Rather than hex editing each one of those blobs to match the allowed namespaces, it is better to avoid the restriction as a whole. This is needed until we have newer userspace blobs with proper property namespaces allowed by the VTS. Signed-off-by: Vaisakh Murali Change-Id: I2abc9821f28885a89cf8905a58475a68766d38d2 Reviewed-on: https://review.statixos.com/c/android_device_mediatek_sepolicy_vndr/+/6330 Reviewed-by: Vaisakh Murali Tested-by: Vaisakh Murali --- SEPolicy.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/SEPolicy.mk b/SEPolicy.mk index 84d7434..5e9c7ca 100644 --- a/SEPolicy.mk +++ b/SEPolicy.mk @@ -1,6 +1,11 @@ # Board specific SELinux policy variable definitions MTK_SEPOLICY_PATH := device/mediatek/sepolicy_vndr +# Build with broken namespaces +# Userspace blobs are still dependent older props that +# do not pass the VTS test cases. +BUILD_BROKEN_VENDOR_PROPERTY_NAMESPACE := true + BOARD_SEPOLICY_DIRS += \ $(MTK_SEPOLICY_PATH)/basic/non_plat \ $(MTK_SEPOLICY_PATH)/basic/debug/non_plat \