107 Commits

Author SHA1 Message Date
bengris32
ddc6294aa8 sepolicy: basic: debug: Insert newline at end of property_contexts
* When the build system is appending all the rules into
  one big file, a missing newline at the end of any
  contexts file will cause build errors due to the
  way the build system appends the files together.

Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: I78028c868cfbc0a86e0895c52280a0b0767ebd77
2023-01-02 23:43:30 +01:00
bengris32
2fb0b35965 sepolicy: bsp: Remove duplicated genfs rule for fuseblk
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: I7a54766319ed1e0a00c96a0188eb028a4a4f5e74
2023-01-02 23:43:24 +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
Mashopy
820bdb82ff mtk-sepolicy: Add LICENSE file 2023-01-02 20:36:07 +01:00
TheMalachite
49214eec48 mtk-sepolicy: Import zirconia modem sepolicy rules 2022-08-14 15:08:06 +02:00
TheMalachite
961041ba3e mtk-sepolicy: Initial SEPolicy rules 2022-08-14 15:07:12 +02:00