app_process: don't use PR_SET_NO_NEW_PRIVS.

am: 92517e4c03

Change-Id: I6eee7cc8642f0a09e6fbac1612744da8ba09e7fc
This commit is contained in:
Josh Gao
2017-01-18 23:18:40 +00:00
committed by android-build-merger

View File

@@ -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) {