Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2833)

Unified Diff: content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.h

Issue 299683004: Rewrite all BPF policies to use DSL API Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Overhaul of DSL and implementation Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.h
diff --git a/content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.h b/content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.h
index 0ccc93ce270aa84da3543f82b337fcb47f0af2da..af5c75e8fbb901b4607a8e55181128720a31c10c 100644
--- a/content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.h
+++ b/content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.h
@@ -15,8 +15,8 @@ class CrosArmGpuProcessPolicy : public GpuProcessPolicy {
explicit CrosArmGpuProcessPolicy(bool allow_shmat);
virtual ~CrosArmGpuProcessPolicy();
- virtual ErrorCode EvaluateSyscall(SandboxBPF* sandbox_compiler,
- int system_call_number) const OVERRIDE;
+ virtual sandbox::bpf_dsl::ResultExpr EvaluateSyscall(
+ int sysno) const OVERRIDE;
virtual bool PreSandboxHook() OVERRIDE;
private:
@@ -26,4 +26,4 @@ class CrosArmGpuProcessPolicy : public GpuProcessPolicy {
} // namespace content
-#endif // CONTENT_COMMON_SANDBOX_LINUX_BPF_CROS_ARM_GPU_POLICY_LINUX_H_
+#endif // CONTENT_COMMON_SANDBOX_LINUX_BPF_CROS_ARM_GPU_POLICY_LINUX_H_
« no previous file with comments | « components/nacl/loader/nonsfi/nonsfi_sandbox.cc ('k') | content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698