platform_system_sepolicy/apex
Orion Hodson 8f75f76fbd Permissions for odrefresh and /data/misc/apexdata/com.android.art
odrefresh is the process responsible for checking and creating ART
compilation artifacts that live in the ART APEX data
directory (/data/misc/apexdata/com.android.art).

There are two types of change here:

1) enabling odrefresh to run dex2oat and write updated boot class path
   and system server AOT artifacts into the ART APEX data directory.

2) enabling the zygote and assorted diagnostic tools to use the
   updated AOT artifacts.

odrefresh uses two file contexts: apex_art_data_file and
apex_art_staging_data_file. When odrefresh invokes dex2oat, the
generated files have the apex_art_staging_data_file label (which allows
writing). odrefresh then moves these files from the staging area to
their installation area and gives them the apex_art_data_file label.

Bug: 160683548
Test: adb root && adb shell /apex/com.android.art/bin/odrefresh
Change-Id: I9fa290e0c9c1b7b82be4dacb9f2f8cb8c11e4895
2021-01-13 10:38:22 +00:00
..
Android.bp Merge "Add com.android.virt" 2020-12-13 23:42:59 +00:00
apex.test-file_contexts Sepolicy: Initial Apexd pre-/postinstall rules 2019-01-24 15:06:17 -08:00
com.android.adbd-file_contexts Move adbd to an apex. 2019-10-29 14:58:09 -07:00
com.android.appsearch-file_contexts Add apex structure to appsearch module. 2019-11-25 11:30:38 -08:00
com.android.art-file_contexts Permissions for odrefresh and /data/misc/apexdata/com.android.art 2021-01-13 10:38:22 +00:00
com.android.art.debug-file_contexts Permissions for odrefresh and /data/misc/apexdata/com.android.art 2021-01-13 10:38:22 +00:00
com.android.bluetooth.updatable-file_contexts Add sepolicy for bluetooth apex 2019-11-25 17:07:31 -08:00
com.android.bootanimation-file_contexts Set context for files in the com.android.bootanimation apex 2019-05-29 13:49:41 -07:00
com.android.cellbroadcast-file_contexts Create a cellbroadcast apex 2019-11-09 23:35:37 -08:00
com.android.conscrypt-file_contexts SEPolicy for boringssl_self_test. 2019-09-05 02:40:57 +01:00
com.android.cronet-file_contexts Add file_contexts for apex com.android.cronet 2019-12-05 16:58:36 +08:00
com.android.extservices-file_contexts Add file contexts for com.android.extservices APEX. 2020-01-17 13:47:30 +00:00
com.android.geotz-file_contexts Changes associated with the new geotz module 2020-11-20 22:15:48 +00:00
com.android.gki-file_contexts Support GKI updates 2020-08-10 16:10:38 -07:00
com.android.i18n-file_contexts "Add shared library into i18n APEX and add the required sepolicy" Attempt 2 2020-05-05 16:36:51 +01:00
com.android.ipsec-file_contexts Add file_contexts for com.android.ipsec 2019-11-08 22:03:33 +00:00
com.android.media-file_contexts add mediatranscoding to apex file context 2020-12-09 14:26:14 -08:00
com.android.media.swcodec-file_contexts Move mediaswcodec service to APEX 2019-03-05 14:54:14 -08:00
com.android.mediaprovider-file_contexts Structure MediaProvider as an APEX. 2019-12-03 13:35:46 -07:00
com.android.neuralnetworks-file_contexts Add file contexts for com.android.neuralnetworks APEX package. 2019-07-18 09:58:48 +00:00
com.android.os.statsd-file_contexts Update selinux policy for statsd apex 2020-02-13 15:42:23 -08:00
com.android.permission-file_contexts Add APEX module for permission. 2019-10-11 12:29:35 -07:00
com.android.resolv-file_contexts Remove permission for APEX manifest. 2018-11-24 17:19:05 +00:00
com.android.runtime-file_contexts Support linkerconfig in Runtime APEX 2020-12-02 11:41:38 +09:00
com.android.scheduling-file_contexts Add file contexts for com.android.scheduling 2020-12-10 14:55:22 +00:00
com.android.sdkext-file_contexts Add sepolicy for sdkext module prop 2019-12-05 14:11:50 +00:00
com.android.telephony-file_contexts Create telephony apex. 2019-12-05 14:52:57 -08:00
com.android.tethering-file_contexts Change Tethering package name 2019-12-18 13:06:00 +00:00
com.android.tzdata-file_contexts Remove permission for APEX manifest. 2018-11-24 17:19:05 +00:00
com.android.virt-file_contexts Add com.android.virt 2020-12-11 16:22:25 +09:00
com.android.vndk-file_contexts Add file_contexts for "com.android.vndk" APEX 2019-09-18 10:35:39 +09:00
com.android.wifi-file_contexts sepolicy: Add entry for wifi apex mainline module 2019-11-25 20:51:50 +00:00