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

Unified Diff: sandbox/linux/seccomp-bpf-helpers/baseline_policy.h

Issue 683113005: Update from chromium https://crrev.com/302282 (Closed) Base URL: git@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
Index: sandbox/linux/seccomp-bpf-helpers/baseline_policy.h
diff --git a/sandbox/linux/seccomp-bpf-helpers/baseline_policy.h b/sandbox/linux/seccomp-bpf-helpers/baseline_policy.h
index 6d434b7be057a5950612b3a7028794baaa38aa11..4169d9c3e27544fba0bb84256b9b623d41a1d85d 100644
--- a/sandbox/linux/seccomp-bpf-helpers/baseline_policy.h
+++ b/sandbox/linux/seccomp-bpf-helpers/baseline_policy.h
@@ -28,11 +28,10 @@ class SANDBOX_EXPORT BaselinePolicy : public bpf_dsl::Policy {
// |fs_denied_errno| is the errno returned when a filesystem access system
// call is denied.
explicit BaselinePolicy(int fs_denied_errno);
- virtual ~BaselinePolicy();
+ ~BaselinePolicy() override;
- virtual bpf_dsl::ResultExpr EvaluateSyscall(
- int system_call_number) const override;
- virtual bpf_dsl::ResultExpr InvalidSyscall() const override;
+ bpf_dsl::ResultExpr EvaluateSyscall(int system_call_number) const override;
+ bpf_dsl::ResultExpr InvalidSyscall() const override;
pid_t policy_pid() const { return policy_pid_; }
private:
« no previous file with comments | « sandbox/linux/sandbox_linux.gypi ('k') | sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698