Commit graph

22 commits

Author SHA1 Message Date
Sebastiano Barezzi
191a6ce91b sepolicy_vndr: legacy: Allow using logdump partition as metadata
* sdm845 and sdm710 didn't have a metadata partition, but we can repurpose logdump which is a 64MB partition used to store Android logcats

Change-Id: I826571d4e31f2a3f03c1d3e6a0daab262a4ccd6b
(cherry picked from commit 8a5eeb6a2bfb3f1a7232199d32c1e3c2bbc0ef55)
2024-01-19 13:54:53 +00:00
Michael Bestas
6f4cd84d08 bengal: Allow using legacy IMS rules
Having both files in place causes a neverallow,
so guard it behind a flag.

Change-Id: Ic485e454b7f5d81b954ffffdd8743b3ca879cde1
2024-01-08 19:17:27 +00:00
Michael Bestas
a57e68f515 legacy: Guard debugfs rules
Allow building with PRODUCT_SET_DEBUGFS_RESTRICTIONS set.

Change-Id: I0d0703ea21f1f812c06247a3db2bc755e8904149
2023-10-24 22:24:31 +01:00
Michael Bestas
e09c9bd50e sepolicy_vndr: Switch to SYSTEM_EXT_{PUBLIC,PRIVATE}_SEPOLICY_DIRS
Fixes:
warning: BOARD_PLAT_PRIVATE_SEPOLICY_DIR has been deprecated.
    Use SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS instead.
warning: BOARD_PLAT_PUBLIC_SEPOLICY_DIR has been deprecated.
    Use SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS instead.
Change-Id: I752602079de8ff4c5370fe3ec861b8746838d878
2023-10-24 22:24:31 +01:00
Aayush Gupta
4f3377bdf0 sepolicy_vndr: Switch to BOARD_VENDOR_SEPOLICY_DIRS
- BOARD_SEPOLICY_DIRS is deprecated and gives compile-time
  errors when used in unison with a device using BOARD_VENDOR_SEPOLICY_DIRS

Ref:
[0]: ec3ac470a9

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: Icefb062cc8cdef532b4310684d9a66afe97e49c4
2023-10-24 22:24:31 +01:00
Michael Bestas
31691fe2c7
sepolicy: Update paths for new repository location
Change-Id: Ibdaed7b3ff6463c682c65091ffbc82c36bfff348
2023-10-24 20:06:54 +03:00
Pig
47b2721c21
sepolicy_vndr: Remove QCOM guards
Change-Id: I0efd0b96f45ecfa9eec0b98087f0582dcd282798
2023-10-24 14:34:54 +03:00
qctecmdr
7b0eaea834 Merge "sepolicy_vndr: init sepolicy for mst_test_app" 2020-10-16 04:21:37 -07:00
Christopher Braga
209fc4a70c sepolicy: Introduce policies for new QMCS partition
A new display partition has been introduced on Lahaina family
targets. Update SELINUX policies to allow partition mounting,
autoformatting, and read only access by the graphics composer HAL.

Change-Id: Ia61df85566525fc1c24ab3dcd2130839286a3cd9
2020-09-29 10:35:27 -07:00
Huang Li
519d51ce0f sepolicy_vndr: init sepolicy for mst_test_app
Change-Id: Idbb1f753e9760fcd0c1bf5053677744230c147f2
2020-09-23 18:19:54 +08:00
Bavyasritha Alahari
bd1c287701 sepolicy: move sysmonapp domain to test
Move sysmonapp domain applications to tests folders
under legacy and qva. Also extend the sepolicy rules
to respective platform signed ones.

Change-Id: I6923d59300a94c1a9c63c9d3fc32050bb86f9271
2020-07-28 15:23:44 +05:30
Jaihind Yadav
fda15c9bd0 removing attribute dir as it's already part of system_ext.
Change-Id: I763f78e05b7345cee363c3b0781f55937f4e31d0
2020-07-21 23:06:22 -07:00
Jaihind Yadav
c98c68f32b moving attributes to attribute dir
Change-Id: Icd44334f78340c200bc0cd9d2d1fd719a2306141
2020-07-01 22:47:29 -07:00
Jaihind Yadav
740cde0e27 modifying sepolicy make file. 2020-05-12 15:23:37 +05:30
Jaihind Yadav
3b13a1dd32 setting the proper dependency to system side sepolicy.
vendor sepolicy is dependent on system_Ext and product so including them in make file.
2020-05-05 08:16:39 +05:30
Jaihind Yadav
5d09fb70a1 modifying sepolicy to pick only vendor sepolicy. 2020-05-04 18:21:51 +05:30
qctecmdr
74dfc94154 Merge "Revert "sepolicy: Define key for TimeService apk"" 2020-02-27 03:04:34 -08:00
Mohit Aggarwal
fc8dfee1e0 Revert "sepolicy: Define key for TimeService apk"
This reverts commit 6886e3677e6d9dbd3cb5f4ec9809d0fed1da799c.

Change-Id: I9b4414691680c399717370b118e01dbc0d4aac09
2020-02-18 11:48:29 +05:30
Jaihind Yadav
bdc1b01af0 sepolicy: categorising product partition sepolicy b/w generic and qva.
Change-Id: I10cb485e1b461e30f5c0e12d277a9b6fda8decee
2020-02-17 03:34:29 -08:00
Jaihind Yadav
0963aa7d58 sepolicy: adding support for product sepolicy.
Change-Id: Iae5c5780e7d5f4dc5063f8ccc21f1ebd3a4414dc
2019-10-15 14:59:21 +05:30
Mohit Aggarwal
da8ec96d44 sepolicy: Define key for TimeService apk
Define key for TimeService apk
Change-Id: I612120345bed56fd92d438a0a2db3db6aa919519
2019-09-26 03:44:36 -07:00
Suresh Reddy Yellala
8a75bf8acf sepolicy: Remove Android.mk and Add sepolicy.mk
Change-Id: Iaf0584809582151ab05bc1746974812842596ac7
2019-08-28 11:44:24 -07:00