From 90d4d6040c23359ff8bf00358e4a8bd694fcf591 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Thu, 10 Mar 2022 18:01:04 +0000 Subject: [PATCH] Revert "Disable pointer authentication in app processes." Revert "Disable pointer authentication in app processes." Revert submission 1954983-master-I3030c47be9d02a27505bd4775c1982a20755758c Reason for revert: PAC has shipped with S, and we're going with app compat outreach rather than regressing security. Reverted Changes: I3030c47be:Disable pointer authentication in app processes. I3030c47be:Disable pointer authentication in app processes. Change-Id: I75c4d2d3cf59aecf99d9c9d37c6750f999e74de8 --- cmds/app_process/Android.bp | 2 -- cmds/app_process/app_main.cpp | 5 ----- 2 files changed, 7 deletions(-) diff --git a/cmds/app_process/Android.bp b/cmds/app_process/Android.bp index 6a685a79cc335..a1575173ded62 100644 --- a/cmds/app_process/Android.bp +++ b/cmds/app_process/Android.bp @@ -64,8 +64,6 @@ cc_binary { "libwilhelm", ], - header_libs: ["bionic_libc_platform_headers"], - compile_multilib: "both", cflags: [ diff --git a/cmds/app_process/app_main.cpp b/cmds/app_process/app_main.cpp index 815f9455471c9..12083b6fe20bb 100644 --- a/cmds/app_process/app_main.cpp +++ b/cmds/app_process/app_main.cpp @@ -15,7 +15,6 @@ #include #include -#include #include #include #include @@ -183,10 +182,6 @@ int main(int argc, char* const argv[]) ALOGV("app_process main with argv: %s", argv_String.string()); } - // Because of applications that are using PAC instructions incorrectly, PAC - // is disabled in application processes for now. - ScopedDisablePAC x; - AppRuntime runtime(argv[0], computeArgBlockSize(argc, argv)); // Process command line arguments // ignore argv[0]