Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b9fc2910 authored by Elliott Hughes's avatar Elliott Hughes Committed by Gerrit Code Review
Browse files

Merge "Revert "Disable pointer authentication in app processes.""

parents e6c05a8f 90d4d604
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -64,8 +64,6 @@ cc_binary {
        "libwilhelm",
    ],

    header_libs: ["bionic_libc_platform_headers"],

    compile_multilib: "both",

    cflags: [
+0 −5
Original line number Diff line number Diff line
@@ -15,7 +15,6 @@

#include <android-base/macros.h>
#include <binder/IPCThreadState.h>
#include <bionic/pac.h>
#include <hwbinder/IPCThreadState.h>
#include <utils/Log.h>
#include <cutils/memory.h>
@@ -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]