From feedd3c62178d3c6413e467a98da3b708dd1f5f1 Mon Sep 17 00:00:00 2001 From: Alex Light Date: Tue, 5 Aug 2014 09:15:01 -0700 Subject: [PATCH] Make system use patchoat to relocate during runtime. Add patchoat selinux rules. Bug: 15358152 (cherry picked from commit fbc8ec2eacaff635a51b0334ea43ddaaa65655ea) Change-Id: Ic84a370548393be62db740092e8393b662bcf345 --- file_contexts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/file_contexts b/file_contexts index def1e5349..33ac8a3f6 100644 --- a/file_contexts +++ b/file_contexts @@ -161,6 +161,8 @@ /system/bin/vdc u:object_r:vdc_exec:s0 /system/bin/install-recovery.sh u:object_r:install_recovery_exec:s0 /system/bin/dex2oat u:object_r:dex2oat_exec:s0 +# patchoat executable has (essentially) the same requirements as dex2oat. +/system/bin/patchoat u:object_r:dex2oat_exec:s0 ############################# # Vendor files