summaryrefslogtreecommitdiff
path: root/waterfox/waterfox-remove-SetCurrentProcessPrivileges.patch
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-08-20 08:52:35 -0400
committerB Stack <bgstack15@gmail.com>2019-08-20 08:52:35 -0400
commitdcee83b1dcf5640466c1fa6b761c833d1a7a2c9a (patch)
treee14654f9b9b2f188e90a143e38a021abb50144d0 /waterfox/waterfox-remove-SetCurrentProcessPrivileges.patch
parentMerge branch 'freefilesync-bump' into 'master' (diff)
downloadstackrpms-dcee83b1dcf5640466c1fa6b761c833d1a7a2c9a.tar.gz
stackrpms-dcee83b1dcf5640466c1fa6b761c833d1a7a2c9a.tar.bz2
stackrpms-dcee83b1dcf5640466c1fa6b761c833d1a7a2c9a.zip
waterfox 56.2.13 rpm rc1
Diffstat (limited to 'waterfox/waterfox-remove-SetCurrentProcessPrivileges.patch')
-rw-r--r--waterfox/waterfox-remove-SetCurrentProcessPrivileges.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/waterfox/waterfox-remove-SetCurrentProcessPrivileges.patch b/waterfox/waterfox-remove-SetCurrentProcessPrivileges.patch
new file mode 100644
index 0000000..ed096fb
--- /dev/null
+++ b/waterfox/waterfox-remove-SetCurrentProcessPrivileges.patch
@@ -0,0 +1,25 @@
+From ddb9e372a2f3ac7b37b1c58a427351333b0545fe Mon Sep 17 00:00:00 2001
+From: Phantom X <PhantomX@users.noreply.github.com>
+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<std::string>& argv,
+ argv_cstr[i] = const_cast<char*>(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
+
bgstack15