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

Unified Diff: sandbox/linux/bpf_dsl/bpf_dsl.cc

Issue 681713002: Update from chromium https://crrev.com/301315 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « sandbox/linux/bpf_dsl/bpf_dsl.h ('k') | sandbox/linux/bpf_dsl/bpf_dsl_forward.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/linux/bpf_dsl/bpf_dsl.cc
diff --git a/sandbox/linux/bpf_dsl/bpf_dsl.cc b/sandbox/linux/bpf_dsl/bpf_dsl.cc
index ffabeac6da5464ce27b8fe2cf117296e7ed73b11..ce7c111473bd055cd9e20e18deb99763ea83710d 100644
--- a/sandbox/linux/bpf_dsl/bpf_dsl.cc
+++ b/sandbox/linux/bpf_dsl/bpf_dsl.cc
@@ -4,8 +4,6 @@
#include "sandbox/linux/bpf_dsl/bpf_dsl.h"
-#include <errno.h>
-
#include <limits>
#include "base/logging.h"
@@ -372,15 +370,6 @@ ResultExpr Elser::Else(const ResultExpr& else_result) const {
return expr;
}
-ResultExpr SandboxBPFDSLPolicy::InvalidSyscall() const {
- return Error(ENOSYS);
-}
-
-ResultExpr SandboxBPFDSLPolicy::Trap(TrapRegistry::TrapFnc trap_func,
- const void* aux) {
- return bpf_dsl::Trap(trap_func, aux);
-}
-
} // namespace bpf_dsl
} // namespace sandbox
« no previous file with comments | « sandbox/linux/bpf_dsl/bpf_dsl.h ('k') | sandbox/linux/bpf_dsl/bpf_dsl_forward.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698