2018-09-21 00:30:26 +00:00
|
|
|
From 3a68808c9e49e9a249ee9056015e30543747cd00 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Ales Pergl <alpergl@microsoft.com>
|
|
|
|
Date: Thu, 20 Sep 2018 17:44:49 -0700
|
|
|
|
Subject: allow_new_privs.patch
|
|
|
|
|
|
|
|
|
2018-09-14 05:02:16 +00:00
|
|
|
diff --git a/base/process/launch.h b/base/process/launch.h
|
2018-09-21 00:30:26 +00:00
|
|
|
index 7a2def2ef436..50afeaf5553a 100644
|
2018-09-14 05:02:16 +00:00
|
|
|
--- a/base/process/launch.h
|
|
|
|
+++ b/base/process/launch.h
|
2018-09-21 00:30:26 +00:00
|
|
|
@@ -180,7 +180,7 @@ struct BASE_EXPORT LaunchOptions {
|
2018-09-14 05:02:16 +00:00
|
|
|
|
|
|
|
// By default, child processes will have the PR_SET_NO_NEW_PRIVS bit set. If
|
|
|
|
// true, then this bit will not be set in the new child process.
|
|
|
|
- bool allow_new_privs = false;
|
|
|
|
+ bool allow_new_privs = true;
|
|
|
|
|
|
|
|
// Sets parent process death signal to SIGKILL.
|
|
|
|
bool kill_on_parent_death = false;
|
2018-09-21 00:30:26 +00:00
|
|
|
--
|
|
|
|
2.17.0
|
|
|
|
|