| Index: sandbox/linux/seccomp-bpf/verifier.cc
|
| diff --git a/sandbox/linux/seccomp-bpf/verifier.cc b/sandbox/linux/seccomp-bpf/verifier.cc
|
| index 69a8e62945105de15a3319d2326d48bad2728316..707bc45efd68852db0f82dfb6ca280ee58f910d0 100644
|
| --- a/sandbox/linux/seccomp-bpf/verifier.cc
|
| +++ b/sandbox/linux/seccomp-bpf/verifier.cc
|
| @@ -9,6 +9,7 @@
|
| #include <limits>
|
|
|
| #include "sandbox/linux/bpf_dsl/bpf_dsl.h"
|
| +#include "sandbox/linux/bpf_dsl/bpf_dsl_impl.h"
|
| #include "sandbox/linux/bpf_dsl/policy_compiler.h"
|
| #include "sandbox/linux/seccomp-bpf/errorcode.h"
|
| #include "sandbox/linux/seccomp-bpf/linux_seccomp.h"
|
| @@ -340,8 +341,8 @@ bool Verifier::VerifyBPF(bpf_dsl::PolicyCompiler* compiler,
|
| #endif
|
| #endif
|
| ErrorCode code = iter.IsValid(sysnum)
|
| - ? policy.EvaluateSyscall(compiler, sysnum)
|
| - : policy.InvalidSyscall(compiler);
|
| + ? policy.EvaluateSyscall(sysnum)->Compile(compiler)
|
| + : policy.InvalidSyscall()->Compile(compiler);
|
| if (!VerifyErrorCode(compiler, program, &data, code, code, err)) {
|
| return false;
|
| }
|
|
|