OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "sandbox/linux/tests/sandbox_test_runner.h" | 5 #include "sandbox/linux/bpf_dsl/policy.h" |
| 6 |
| 7 #include <errno.h> |
| 8 |
| 9 #include "sandbox/linux/bpf_dsl/bpf_dsl.h" |
6 | 10 |
7 namespace sandbox { | 11 namespace sandbox { |
| 12 namespace bpf_dsl { |
8 | 13 |
9 SandboxTestRunner::SandboxTestRunner() { | 14 ResultExpr Policy::InvalidSyscall() const { |
| 15 return Error(ENOSYS); |
10 } | 16 } |
11 | 17 |
12 SandboxTestRunner::~SandboxTestRunner() { | 18 } // namespace bpf_dsl |
13 } | |
14 | |
15 bool SandboxTestRunner::ShouldCheckForLeaks() const { | |
16 return true; | |
17 } | |
18 | |
19 } // namespace sandbox | 19 } // namespace sandbox |
OLD | NEW |