diff options
| author | 2017-01-19 00:43:47 +0000 | |
|---|---|---|
| committer | 2017-01-19 00:43:47 +0000 | |
| commit | ed5444ba4f85c4ee7bca1fe620b65d91599ea453 (patch) | |
| tree | 141b95dcfd879ba6045164387ef30427fe16c93e | |
| parent | 0377cd62de2245e3974781a48642ef73eba2d4a5 (diff) | |
| parent | 19c0d60d14f56306197bb99a2f71fd5c5c6fcfba (diff) | |
app_process: don't use PR_SET_NO_NEW_PRIVS. am: 92517e4c03 am: b6025a2be1 am: f442f1bd66
am: 19c0d60d14
Change-Id: I839f9762c6705c3422c0e286600241943f88f348
| -rw-r--r-- | cmds/app_process/app_main.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/cmds/app_process/app_main.cpp b/cmds/app_process/app_main.cpp index d5580acce4f8..0ea141c292dd 100644 --- a/cmds/app_process/app_main.cpp +++ b/cmds/app_process/app_main.cpp @@ -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) { |