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

Commit 19c0d60d authored by Josh Gao's avatar Josh Gao Committed by android-build-merger
Browse files

app_process: don't use PR_SET_NO_NEW_PRIVS. am: 92517e4c am: b6025a2b

am: f442f1bd

Change-Id: I80edffa8c2930b84aaccc211340506049825837a
parents edc42631 f442f1bd
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -184,10 +184,6 @@ static const char ZYGOTE_NICE_NAME[] = "zygote";

int main(int argc, char* const argv[])
{
    if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0) < 0) {
        LOG_ALWAYS_FATAL("PR_SET_NO_NEW_PRIVS failed: %s", strerror(errno));
    }

    if (!LOG_NDEBUG) {
      String8 argv_String;
      for (int i = 0; i < argc; ++i) {