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 <mvaisakh@statixos.com>
Change-Id: I2abc9821f28885a89cf8905a58475a68766d38d2
Reviewed-on: https://review.statixos.com/c/android_device_mediatek_sepolicy_vndr/+/6330
Reviewed-by: Vaisakh Murali <vaisakhmurali@gmail.com>
Tested-by: Vaisakh Murali <vaisakhmurali@gmail.com>
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 \