From ddb9e372a2f3ac7b37b1c58a427351333b0545fe Mon Sep 17 00:00:00 2001 From: Phantom X Date: Mon, 19 Aug 2019 21:53:21 -0300 Subject: [PATCH] Remove unneeded SetCurrentProcessPrivileges --- ipc/chromium/src/base/process_util_linux.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/ipc/chromium/src/base/process_util_linux.cc b/ipc/chromium/src/base/process_util_linux.cc index f8cfb32..5501747 100644 --- a/ipc/chromium/src/base/process_util_linux.cc +++ b/ipc/chromium/src/base/process_util_linux.cc @@ -169,8 +169,6 @@ bool LaunchApp(const std::vector& argv, argv_cstr[i] = const_cast(argv[i].c_str()); argv_cstr[argv.size()] = NULL; - SetCurrentProcessPrivileges(privs); - execve(argv_cstr[0], argv_cstr.get(), envp); // if we get here, we're in serious trouble and should complain loudly // NOTE: This is async signal unsafe; it could deadlock instead. (But -- 2.21.0