From 62ecd25cbb4599978c56364f777aabda8a5a9010 Mon Sep 17 00:00:00 2001 From: Chenyang Zhong Date: Sat, 16 Oct 2021 00:51:21 -0400 Subject: [PATCH] sm7250-common: relax sysprop owner enforcement Quoting commit afc09932f6fa07c5f6beffbcdc2bb4691e527321 in system/sepolicy [1]: "Devices launching with R or eariler can this by setting following under BoardConfig.mk" It is impractical to replace every prop definition from qcom to vendor_property_type for old platforms like SDM845, so relax the enforcement to avoid triggering millions of neverallows. ref: [1] https://android.googlesource.com/platform/system/sepolicy/+/afc09932f6fa07c5f6beffbcdc2bb4691e527321 Signed-off-by: Chenyang Zhong --- BoardConfigCommon.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index f5f1bf8..f9e29fd 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -16,6 +16,7 @@ BUILD_BROKEN_DUP_RULES := true BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES := true +BUILD_BROKEN_ENFORCE_SYSPROP_OWNER := true BOARD_VENDOR := oneplus