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

Side by Side Diff: components/nacl/loader/nonsfi/nonsfi_sandbox_unittest.cc

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn Created 4 years, 12 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 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 // Sanitizers internally use some syscalls which non-SFI NaCl disallows. 5 // Sanitizers internally use some syscalls which non-SFI NaCl disallows.
6 #if !defined(ADDRESS_SANITIZER) && !defined(THREAD_SANITIZER) && \ 6 #if !defined(ADDRESS_SANITIZER) && !defined(THREAD_SANITIZER) && \
7 !defined(MEMORY_SANITIZER) && !defined(LEAK_SANITIZER) 7 !defined(MEMORY_SANITIZER) && !defined(LEAK_SANITIZER)
8 8
9 #include "components/nacl/loader/nonsfi/nonsfi_sandbox.h" 9 #include "components/nacl/loader/nonsfi/nonsfi_sandbox.h"
10 10
(...skipping 13 matching lines...) Expand all
24 #include <sys/wait.h> 24 #include <sys/wait.h>
25 #include <time.h> 25 #include <time.h>
26 #include <unistd.h> 26 #include <unistd.h>
27 27
28 #include "base/at_exit.h" 28 #include "base/at_exit.h"
29 #include "base/bind.h" 29 #include "base/bind.h"
30 #include "base/callback.h" 30 #include "base/callback.h"
31 #include "base/compiler_specific.h" 31 #include "base/compiler_specific.h"
32 #include "base/files/scoped_file.h" 32 #include "base/files/scoped_file.h"
33 #include "base/logging.h" 33 #include "base/logging.h"
34 #include "base/macros.h"
34 #include "base/posix/eintr_wrapper.h" 35 #include "base/posix/eintr_wrapper.h"
35 #include "base/sys_info.h" 36 #include "base/sys_info.h"
36 #include "base/threading/thread.h" 37 #include "base/threading/thread.h"
37 #include "base/time/time.h" 38 #include "base/time/time.h"
38 #include "sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.h" 39 #include "sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.h"
39 #include "sandbox/linux/seccomp-bpf/bpf_tests.h" 40 #include "sandbox/linux/seccomp-bpf/bpf_tests.h"
40 #include "sandbox/linux/seccomp-bpf/sandbox_bpf.h" 41 #include "sandbox/linux/seccomp-bpf/sandbox_bpf.h"
41 #include "sandbox/linux/seccomp-bpf/syscall.h" 42 #include "sandbox/linux/seccomp-bpf/syscall.h"
42 #include "sandbox/linux/system_headers/linux_futex.h" 43 #include "sandbox/linux/system_headers/linux_futex.h"
43 #include "sandbox/linux/system_headers/linux_signal.h" 44 #include "sandbox/linux/system_headers/linux_signal.h"
(...skipping 649 matching lines...) Expand 10 before | Expand all | Expand 10 after
693 RESTRICT_SYSCALL_EPERM_TEST(ptrace); 694 RESTRICT_SYSCALL_EPERM_TEST(ptrace);
694 RESTRICT_SYSCALL_EPERM_TEST(set_robust_list); 695 RESTRICT_SYSCALL_EPERM_TEST(set_robust_list);
695 #if defined(__i386__) || defined(__x86_64__) 696 #if defined(__i386__) || defined(__x86_64__)
696 RESTRICT_SYSCALL_EPERM_TEST(time); 697 RESTRICT_SYSCALL_EPERM_TEST(time);
697 #endif 698 #endif
698 699
699 } // namespace 700 } // namespace
700 701
701 #endif // !ADDRESS_SANITIZER && !THREAD_SANITIZER && 702 #endif // !ADDRESS_SANITIZER && !THREAD_SANITIZER &&
702 // !MEMORY_SANITIZER && !LEAK_SANITIZER 703 // !MEMORY_SANITIZER && !LEAK_SANITIZER
OLDNEW
« no previous file with comments | « components/nacl/loader/nonsfi/nonsfi_sandbox.cc ('k') | components/nacl/loader/sandbox_linux/nacl_bpf_sandbox_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698