| Index: content/common/sandbox_seccomp_bpf_linux.cc
|
| diff --git a/content/common/sandbox_seccomp_bpf_linux.cc b/content/common/sandbox_seccomp_bpf_linux.cc
|
| index f7f1a80ad6145c02b2073ce78e34bd7bf68445a6..a2e7569719ae544c0b6e4fcb7e0a25edf53e4a2a 100644
|
| --- a/content/common/sandbox_seccomp_bpf_linux.cc
|
| +++ b/content/common/sandbox_seccomp_bpf_linux.cc
|
| @@ -1409,12 +1409,17 @@ bool SandboxSeccompBpf::IsSeccompBpfDesired() {
|
| bool SandboxSeccompBpf::ShouldEnableSeccompBpf(
|
| const std::string& process_type) {
|
| #if defined(SECCOMP_BPF_SANDBOX)
|
| +#if defined(__arm__)
|
| + // We disable the sandbox on ARM for now until crbug.com/148856 is fixed.
|
| + return false;
|
| +#else
|
| const CommandLine& command_line = *CommandLine::ForCurrentProcess();
|
| if (process_type == switches::kGpuProcess)
|
| return !command_line.HasSwitch(switches::kDisableGpuSandbox);
|
|
|
| return true;
|
| -#endif
|
| +#endif // __arm__
|
| +#endif // process_type
|
| return false;
|
| }
|
|
|
|
|