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

Side by Side Diff: sandbox/linux/bpf_dsl/verifier.cc

Issue 1539423002: Revert of Switch to standard integer types in sandbox/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/verifier.h" 5 #include "sandbox/linux/bpf_dsl/verifier.h"
6 6
7 #include <stdint.h>
8 #include <string.h> 7 #include <string.h>
9 8
10 #include "base/macros.h"
11 #include "sandbox/linux/bpf_dsl/seccomp_macros.h" 9 #include "sandbox/linux/bpf_dsl/seccomp_macros.h"
12 #include "sandbox/linux/bpf_dsl/trap_registry.h" 10 #include "sandbox/linux/bpf_dsl/trap_registry.h"
13 #include "sandbox/linux/system_headers/linux_filter.h" 11 #include "sandbox/linux/system_headers/linux_filter.h"
14 #include "sandbox/linux/system_headers/linux_seccomp.h" 12 #include "sandbox/linux/system_headers/linux_seccomp.h"
15 13
16 namespace sandbox { 14 namespace sandbox {
17 namespace bpf_dsl { 15 namespace bpf_dsl {
18 16
19 namespace { 17 namespace {
20 18
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 default: 214 default:
217 *err = "Unexpected instruction in BPF program"; 215 *err = "Unexpected instruction in BPF program";
218 break; 216 break;
219 } 217 }
220 } 218 }
221 return 0; 219 return 0;
222 } 220 }
223 221
224 } // namespace bpf_dsl 222 } // namespace bpf_dsl
225 } // namespace sandbox 223 } // namespace sandbox
OLDNEW
« no previous file with comments | « sandbox/linux/bpf_dsl/test_trap_registry.cc ('k') | sandbox/linux/integration_tests/bpf_dsl_seccomp_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698