| Index: components/nacl/loader/nonsfi/nonsfi_sandbox_unittest.cc
|
| diff --git a/components/nacl/loader/nonsfi/nonsfi_sandbox_unittest.cc b/components/nacl/loader/nonsfi/nonsfi_sandbox_unittest.cc
|
| index ab918cb8bc42ecce809feb4c9ebce2ecdbb44522..7ec18a417177d76c19ced467e49bd1504f6b15ec 100644
|
| --- a/components/nacl/loader/nonsfi/nonsfi_sandbox_unittest.cc
|
| +++ b/components/nacl/loader/nonsfi/nonsfi_sandbox_unittest.cc
|
| @@ -59,9 +59,8 @@ void DoSocketpair(base::ScopedFD* fds) {
|
| }
|
|
|
| TEST(NaClNonSfiSandboxTest, BPFIsSupported) {
|
| - bool seccomp_bpf_supported = (
|
| - sandbox::SandboxBPF::SupportsSeccompSandbox() ==
|
| - sandbox::SandboxBPF::STATUS_AVAILABLE);
|
| + bool seccomp_bpf_supported = sandbox::SandboxBPF::SupportsSeccompSandbox() &
|
| + sandbox::SandboxBPF::SECCOMP_SINGLE_THREADED;
|
| if (!seccomp_bpf_supported) {
|
| LOG(ERROR) << "Seccomp BPF is not supported, these tests "
|
| << "will pass without running";
|
|
|