diff options
author | B Stack <bgstack15@gmail.com> | 2019-08-24 02:17:53 +0000 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2019-08-24 02:17:53 +0000 |
commit | d19b5eb30a1c8deb4ace58c6e0cb953f1eb12649 (patch) | |
tree | 48ca5f61958bb0d2682fd304a287bc3ffd5b223e /waterfox/waterfox-remove-SetCurrentProcessPrivileges.patch | |
parent | Merge branch 'freefilesync-bump' into 'master' (diff) | |
parent | waterfox 56.2.13 dpkg rc1 (diff) | |
download | stackrpms-d19b5eb30a1c8deb4ace58c6e0cb953f1eb12649.tar.gz stackrpms-d19b5eb30a1c8deb4ace58c6e0cb953f1eb12649.tar.bz2 stackrpms-d19b5eb30a1c8deb4ace58c6e0cb953f1eb12649.zip |
Merge branch 'waterfox-bump' into 'master'
waterfox 56.2.13
See merge request bgstack15/stackrpms!80
Diffstat (limited to 'waterfox/waterfox-remove-SetCurrentProcessPrivileges.patch')
-rw-r--r-- | waterfox/waterfox-remove-SetCurrentProcessPrivileges.patch | 25 |
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 + |