From fd806f81ce2eb45d374de6be0a5e68d4ecbf0ae4 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Fri, 5 Sep 2014 21:04:27 +0800 Subject: [PATCH] linux: Don't set PR_SET_NO_NEW_PRIVS when creating process, fixes #623. --- atom/common/platform_util_linux.cc | 1 + script/lib/config.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/atom/common/platform_util_linux.cc b/atom/common/platform_util_linux.cc index c19216b6506..f68ce3a544a 100644 --- a/atom/common/platform_util_linux.cc +++ b/atom/common/platform_util_linux.cc @@ -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 diff --git a/script/lib/config.py b/script/lib/config.py index db6c1a97064..c1d5452ebd8 100644 --- a/script/lib/config.py +++ b/script/lib/config.py @@ -4,7 +4,7 @@ import platform import sys BASE_URL = 'https://gh-contractor-zcbenz.s3.amazonaws.com/libchromiumcontent' -LIBCHROMIUMCONTENT_COMMIT = '2cf80c1743e370c12eb7bf078eb425f3cc355383' +LIBCHROMIUMCONTENT_COMMIT = 'ef6f735cf946570a89bd6269121e1cd0911da4ab' ARCH = { 'cygwin': '32bit',