| Index: content/common/sandbox_linux/sandbox_bpf_base_policy_linux.cc
|
| diff --git a/content/common/sandbox_bpf_base_policy_linux.cc b/content/common/sandbox_linux/sandbox_bpf_base_policy_linux.cc
|
| similarity index 88%
|
| rename from content/common/sandbox_bpf_base_policy_linux.cc
|
| rename to content/common/sandbox_linux/sandbox_bpf_base_policy_linux.cc
|
| index 4341e921fa97344bc471d50fb7e4ea320932b873..d1e5af305631a671f85c7e837a279c842ab151cf 100644
|
| --- a/content/common/sandbox_bpf_base_policy_linux.cc
|
| +++ b/content/common/sandbox_linux/sandbox_bpf_base_policy_linux.cc
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "content/common/sandbox_bpf_base_policy_linux.h"
|
| +#include "content/common/sandbox_linux/sandbox_bpf_base_policy_linux.h"
|
|
|
| #include <errno.h>
|
|
|
| @@ -29,6 +29,10 @@ ErrorCode SandboxBPFBasePolicy::EvaluateSyscall(SandboxBPF* sandbox_compiler,
|
| system_call_number);
|
| }
|
|
|
| +bool SandboxBPFBasePolicy::PreSandboxHook() {
|
| + return true;
|
| +}
|
| +
|
| int SandboxBPFBasePolicy::GetFSDeniedErrno() {
|
| return kFSDeniedErrno;
|
| }
|
|
|