summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Stjernholm <mast@google.com>2023-05-10 16:48:10 +0100
committerMartin Stjernholm <mast@google.com>2023-05-12 10:28:20 +0000
commitbd4a8d140e057d0b8d52e03ac962fcf70f83f84f (patch)
tree95860aaee0da00dbfcd4261b83567cd29f275875
parent36c3fe707785bf128faa83d222dd8d06dc8482db (diff)
downloadart-bd4a8d140e057d0b8d52e03ac962fcf70f83f84f.tar.gz
Don't use the `su` domain for art_boot.
It only works on userdebug, and we need to introduce a domain for it in sepolicy instead. This amends commit 4cdcab58b438a91c91cd5b09235c703251c6e328. Test: boot -> Check that dalvik.vm.useartservice is not false adb root adb shell setprop persist.device_config.runtime_native_boot.useartservice false -> Check that dalvik.vm.useartservice is not false adb reboot -> Check that dalvik.vm.useartservice is false on udc-dev Bug: 281850017 Ignore-AOSP-First: Will cherry-pick to AOSP later Change-Id: Icb0ff95e341a23cf452cfb803fb43f5f46ef316e
-rw-r--r--build/apex/art.rc2
1 files changed, 0 insertions, 2 deletions
diff --git a/build/apex/art.rc b/build/apex/art.rc
index 6f3a5e878d..22eb4b24cc 100644
--- a/build/apex/art.rc
+++ b/build/apex/art.rc
@@ -25,5 +25,3 @@ service artd /apex/com.android.art/bin/artd
service art_boot /apex/com.android.art/bin/art_boot
oneshot
class core
- seclabel u:r:su:s0
- user root