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

Side by Side Diff: sandbox/linux/seccomp-bpf/syscall.cc

Issue 1071653002: Remove #include <asm/unistd.h> from linux_syscall_ranges.h and syscall.cc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 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/seccomp-bpf/syscall.h" 5 #include "sandbox/linux/seccomp-bpf/syscall.h"
6 6
7 #include <asm/unistd.h>
8 #include <errno.h> 7 #include <errno.h>
9 #include <stdint.h> 8 #include <stdint.h>
10 9
11 #include "base/logging.h" 10 #include "base/logging.h"
12 #include "sandbox/linux/bpf_dsl/seccomp_macros.h" 11 #include "sandbox/linux/bpf_dsl/seccomp_macros.h"
13 12
14 namespace sandbox { 13 namespace sandbox {
15 14
16 namespace { 15 namespace {
17 16
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 } 403 }
405 404
406 // Set an error status so it can be used outside of this function 405 // Set an error status so it can be used outside of this function
407 *err_ret = err_stat; 406 *err_ret = err_stat;
408 407
409 return ret; 408 return ret;
410 } 409 }
411 #endif // defined(__mips__) 410 #endif // defined(__mips__)
412 411
413 } // namespace sandbox 412 } // namespace sandbox
OLDNEW
« sandbox/linux/bpf_dsl/linux_syscall_ranges.h ('K') | « sandbox/linux/bpf_dsl/linux_syscall_ranges.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698