6 Commits

Author SHA1 Message Date
Giovanni Ricca
532b60ca02
sepolicy: Guard invalid labels
* MTK devices with R vendor and older still depends on those labels

Change-Id: If2e78d5a22722b0038afbb6f9a651bc073b8f4c8
2023-12-28 11:50:04 +01:00
Felix
461b31145f
sepolicy: Use BOARD_VENDOR_SEPOLICY_DIRS
BOARD_SEPOLICY_DIRS is deprecated.

Change-Id: I046282b2a2e8c541726fb29cb0044503322d4be9
2023-12-22 16:31:24 +00:00
Vaisakh Murali
aea3299924 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>
2023-01-02 23:47:43 +01:00
Zinadin Zidan
6d1e3f3221 sepolicy: Rename mtk sepolicy repo for vendor use
* Its only used for vendor builds.

Signed-off-by: Zinadin Zidan <zidan44@pixelexperience.org>
Change-Id: I834827bf29e96f3e86455413fa5ef8181db18c92
2023-01-02 23:43:51 +01:00
Sarthak Roy
5050bc495c sepolicy: BOARD_PLAT_* -> SYSTEM_EXT_*
With AOSP 12, usage of BOARD_PLAT_* sepolicy directory specification
has been deprecated. The recommended macro is SYSTEM_EXT_* directory
specification. Switch to it.

Signed-off-by: Sarthak Roy <sarthakroy2002@gmail.com>
Change-Id: Iada4c8eb78d958998d63e859da0b18a099309c62
2023-01-02 23:43:12 +01:00
bengris32
94e69231d7 sepolicy: Initial bringup
* Rename BoardSEPolicyConfig.mk to SEPolicy.mk
* Drop useless OTA upgrade sepolicy
* Unconditionally include debug sepolicy

Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: I0c43f3c4783127aad1e5f653bf12b5286cba74ed
2023-01-02 23:43:03 +01:00