Skip to content
Snippets Groups Projects
Commit 0d0d5aa9 authored by Nick Kralevich's avatar Nick Kralevich
Browse files

installd: drop noatsecure for dex2oat

Ensure that AT_SECURE=1 is set when installd executes dex2oat.

LD_PRELOAD is no longer set by init, and installd couldn't see
LD_PRELOAD anyway due to https://android-review.googlesource.com/129971 .
Drop it.

Continuation of commit b00a0379

Change-Id: Icaf08768b3354c6a99dd0f77fef547a706cc96e9
parent bb3cef44
No related branches found
No related tags found
No related merge requests found
...@@ -61,9 +61,6 @@ allow installd resourcecache_data_file:file create_file_perms; ...@@ -61,9 +61,6 @@ allow installd resourcecache_data_file:file create_file_perms;
# Run dex2oat in its own sandbox. # Run dex2oat in its own sandbox.
domain_auto_trans(installd, dex2oat_exec, dex2oat) domain_auto_trans(installd, dex2oat_exec, dex2oat)
# dex2oat needs LD_PRELOAD, passed down from init
# https://android-review.googlesource.com/94851
allow installd dex2oat:process noatsecure;
# Upgrade from unlabeled userdata. # Upgrade from unlabeled userdata.
# Just need enough to remove and/or relabel it. # Just need enough to remove and/or relabel it.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment