chromium: fixup commit 33557ac
Helps with #17460 @cleverca22 saw calls to SetuidSandboxHost::GetSandboxBinaryPath so we patch this function instead. cc @joachifm
This commit is contained in:
parent
3823033107
commit
d6528a1b7f
@ -137,8 +137,8 @@ let
|
||||
# We want to be able to specify where the sandbox is via CHROME_DEVEL_SANDBOX
|
||||
substituteInPlace sandbox/linux/suid/client/setuid_sandbox_host.cc \
|
||||
--replace \
|
||||
'std::string sandbox_binary(GetSandboxBinaryPath().value());' \
|
||||
'std::string sandbox_binary(GetDevelSandboxPath());'
|
||||
'return sandbox_binary;' \
|
||||
'return base::FilePath(GetDevelSandboxPath());'
|
||||
|
||||
sed -i -r \
|
||||
-e 's/-f(stack-protector)(-all)?/-fno-\1/' \
|
||||
|
Loading…
Reference in New Issue
Block a user