From 0d0d5aa9cd48e3f3f8b115f7a6ffbdad5894ad2c Mon Sep 17 00:00:00 2001 From: Nick Kralevich <nnk@google.com> Date: Sat, 7 Mar 2015 15:01:05 -0800 Subject: [PATCH] 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 b00a037992e07b52f811079444a0406820443cce Change-Id: Icaf08768b3354c6a99dd0f77fef547a706cc96e9 --- installd.te | 3 --- 1 file changed, 3 deletions(-) diff --git a/installd.te b/installd.te index 6b1b2b8e1..46e6b8112 100644 --- a/installd.te +++ b/installd.te @@ -61,9 +61,6 @@ allow installd resourcecache_data_file:file create_file_perms; # Run dex2oat in its own sandbox. 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. # Just need enough to remove and/or relabel it. -- GitLab