linux: Don't set PR_SET_NO_NEW_PRIVS when creating process, fixes #623.

This commit is contained in:
Cheng Zhao 2014-09-05 21:04:27 +08:00
parent d515404abd
commit fd806f81ce
2 changed files with 2 additions and 1 deletions

View file

@ -19,6 +19,7 @@ void XDGUtil(const std::string& util, const std::string& arg) {
argv.push_back(arg);
base::LaunchOptions options;
options.allow_new_privs = true;
// xdg-open can fall back on mailcap which eventually might plumb through
// to a command that needs a terminal. Set the environment variable telling
// it that we definitely don't have a terminal available and that it should