MAOS.git
Publicgit clone https://git.maproj.org/MAOS.gitMAOS.git / patches / system_sepolicy.patch
system_sepolicy.patch15 lines · 1.1 KiBRaw
| 1 | diff --git a/private/seapp_contexts b/private/seapp_contexts |
| 2 | index 86333892a..bc9fd7dd1 100644 |
| 3 | --- a/private/seapp_contexts |
| 4 | +++ b/private/seapp_contexts |
| 5 | @@ -197,6 +197,10 @@ user=_app seinfo=platform isPrivApp=true name=com.android.permissioncontroller d |
| 6 | user=_app isPrivApp=true name=com.android.rkpdapp domain=rkpdapp type=privapp_data_file levelFrom=all |
| 7 | user=_app isPrivApp=true name=app.grapheneos.logviewer domain=logviewer_app type=app_data_file levelFrom=all |
| 8 | user=_app isPrivApp=true name=app.seamlessupdate.client domain=updater_app type=app_data_file levelFrom=all |
| 9 | +# MAOS: designate the bundled updater for the updater_app domain so it |
| 10 | +# can stage OTA packages in /data/ota_package (ota_package_file create |
| 11 | +# rules live on updater_app; priv_app has none, hence EACCES on download). |
| 12 | +user=_app isPrivApp=true name=com.vayunmathur.updater domain=updater_app type=app_data_file levelFrom=all |
| 13 | user=_app minTargetSdkVersion=37 domain=untrusted_app type=app_data_file levelFrom=all |
| 14 | user=_app minTargetSdkVersion=34 domain=untrusted_app_34 type=app_data_file levelFrom=all |
| 15 | user=_app minTargetSdkVersion=32 domain=untrusted_app_32 type=app_data_file levelFrom=all |