113 Commits

Author SHA1 Message Date
Zinadin Zidan
22ff9b52e1 sepolicy: basic: non_plat: Allow mtk gsm0710muxd to set ctl_stop_prop/ctl_start_prop
Change-Id: I828caf2a784cd8cd51a5a13bca587f8fedd03220
2023-01-02 23:44:50 +01:00
bengris32
a26d0b7757 sepolicy: basic: non_plat: Label SMS properties
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: Ide1537a7762f713b18b0e90fcf8ccd704dd17719
2023-01-02 23:44:38 +01:00
bengris32
9f597c6ceb sepolicy: basic: non_plat: Allow ccci_mdinit to read bootmode
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: Ic7fde9763638697168b38f9c88639a83a2e06290
2023-01-02 23:44:05 +01:00
bengris32
237af02add sepolicy: basic: non_plat: Address vendor_init denials
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: I3eca9b66b08ad1b98c4480bd315eca885c3f6b2d
2023-01-02 23:44:00 +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
bengris32
fa2ba87661 sepolicy: basic: Remove duplicated genfs rule for timed_output vibrator
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: If6f049147546adb1dac90252c2d89c6e298d2eef
2023-01-02 23:43:44 +01:00
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