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

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

Issue 1538283002: Switch to standard integer types in sandbox/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: macros 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>
7 #include <string.h> 8 #include <string.h>
8 9
10 #include "base/macros.h"
9 #include "sandbox/linux/bpf_dsl/seccomp_macros.h" 11 #include "sandbox/linux/bpf_dsl/seccomp_macros.h"
10 #include "sandbox/linux/bpf_dsl/trap_registry.h" 12 #include "sandbox/linux/bpf_dsl/trap_registry.h"
11 #include "sandbox/linux/system_headers/linux_filter.h" 13 #include "sandbox/linux/system_headers/linux_filter.h"
12 #include "sandbox/linux/system_headers/linux_seccomp.h" 14 #include "sandbox/linux/system_headers/linux_seccomp.h"
13 15
14 namespace sandbox { 16 namespace sandbox {
15 namespace bpf_dsl { 17 namespace bpf_dsl {
16 18
17 namespace { 19 namespace {
18 20
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 default: 216 default:
215 *err = "Unexpected instruction in BPF program"; 217 *err = "Unexpected instruction in BPF program";
216 break; 218 break;
217 } 219 }
218 } 220 }
219 return 0; 221 return 0;
220 } 222 }
221 223
222 } // namespace bpf_dsl 224 } // namespace bpf_dsl
223 } // namespace sandbox 225 } // namespace sandbox
OLDNEW
« no previous file with comments | « sandbox/linux/bpf_dsl/test_trap_registry_unittest.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