Update SELinux policy for Pre-reboot Dexopt.
- Add pm.dexopt.* properties.
- Add rules for running artd in chroot.
Bug: 311377497
Test: manual - Run Pre-reboot Dexopt and see no denial.
Change-Id: If5ff9b23e99be033f19ab257c90e0f52bf250ccf
diff --git a/private/property_contexts b/private/property_contexts
index b4458ee..163f75e 100644
--- a/private/property_contexts
+++ b/private/property_contexts
@@ -675,9 +675,11 @@
pm.dexopt.boot-after-ota.concurrency u:object_r:exported_pm_prop:s0 exact int
pm.dexopt.boot-after-mainline-update u:object_r:exported_pm_prop:s0 exact string
pm.dexopt.boot-after-mainline-update.concurrency u:object_r:exported_pm_prop:s0 exact int
-
pm.dexopt.post-boot u:object_r:exported_pm_prop:s0 exact string
+pm.dexopt.post-boot.concurrency u:object_r:exported_pm_prop:s0 exact int
pm.dexopt.ab-ota u:object_r:exported_pm_prop:s0 exact string
+pm.dexopt.ab-ota.concurrency u:object_r:exported_pm_prop:s0 exact int
+
pm.dexopt.cmdline u:object_r:exported_pm_prop:s0 exact string
pm.dexopt.inactive u:object_r:exported_pm_prop:s0 exact string
pm.dexopt.install u:object_r:exported_pm_prop:s0 exact string