| 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/bpf_dsl/bpf_dsl.h" | 5 #include "sandbox/linux/bpf_dsl/bpf_dsl.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 #include <stdint.h> |
| 9 |
| 7 #include <limits> | 10 #include <limits> |
| 8 | 11 |
| 9 #include "base/logging.h" | 12 #include "base/logging.h" |
| 13 #include "base/macros.h" |
| 10 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 11 #include "sandbox/linux/bpf_dsl/bpf_dsl_impl.h" | 15 #include "sandbox/linux/bpf_dsl/bpf_dsl_impl.h" |
| 12 #include "sandbox/linux/bpf_dsl/errorcode.h" | 16 #include "sandbox/linux/bpf_dsl/errorcode.h" |
| 13 #include "sandbox/linux/bpf_dsl/policy_compiler.h" | 17 #include "sandbox/linux/bpf_dsl/policy_compiler.h" |
| 14 #include "sandbox/linux/system_headers/linux_seccomp.h" | 18 #include "sandbox/linux/system_headers/linux_seccomp.h" |
| 15 | 19 |
| 16 namespace sandbox { | 20 namespace sandbox { |
| 17 namespace bpf_dsl { | 21 namespace bpf_dsl { |
| 18 namespace { | 22 namespace { |
| 19 | 23 |
| (...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 335 new const IfThenResultExprImpl(clause.first, clause.second, expr)); | 339 new const IfThenResultExprImpl(clause.first, clause.second, expr)); |
| 336 } | 340 } |
| 337 return expr; | 341 return expr; |
| 338 } | 342 } |
| 339 | 343 |
| 340 } // namespace bpf_dsl | 344 } // namespace bpf_dsl |
| 341 } // namespace sandbox | 345 } // namespace sandbox |
| 342 | 346 |
| 343 template class scoped_refptr<const sandbox::bpf_dsl::internal::BoolExprImpl>; | 347 template class scoped_refptr<const sandbox::bpf_dsl::internal::BoolExprImpl>; |
| 344 template class scoped_refptr<const sandbox::bpf_dsl::internal::ResultExprImpl>; | 348 template class scoped_refptr<const sandbox::bpf_dsl::internal::ResultExprImpl>; |
| OLD | NEW |