| 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 // 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 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 312 #if defined(__i386__) | 312 #if defined(__i386__) |
| 313 RESTRICT_SYSCALL_DEATH_TEST(oldolduname); | 313 RESTRICT_SYSCALL_DEATH_TEST(oldolduname); |
| 314 #endif | 314 #endif |
| 315 #if defined(__i386__) | 315 #if defined(__i386__) |
| 316 RESTRICT_SYSCALL_DEATH_TEST(oldstat); | 316 RESTRICT_SYSCALL_DEATH_TEST(oldstat); |
| 317 #endif | 317 #endif |
| 318 #if defined(__i386__) | 318 #if defined(__i386__) |
| 319 RESTRICT_SYSCALL_DEATH_TEST(olduname); | 319 RESTRICT_SYSCALL_DEATH_TEST(olduname); |
| 320 #endif | 320 #endif |
| 321 RESTRICT_SYSCALL_DEATH_TEST(open_by_handle_at); | 321 RESTRICT_SYSCALL_DEATH_TEST(open_by_handle_at); |
| 322 RESTRICT_SYSCALL_DEATH_TEST(openat); | |
| 323 RESTRICT_SYSCALL_DEATH_TEST(pause); | 322 RESTRICT_SYSCALL_DEATH_TEST(pause); |
| 324 #if defined(__arm__) | 323 #if defined(__arm__) |
| 325 RESTRICT_SYSCALL_DEATH_TEST(pciconfig_iobase); | 324 RESTRICT_SYSCALL_DEATH_TEST(pciconfig_iobase); |
| 326 #endif | 325 #endif |
| 327 #if defined(__arm__) | 326 #if defined(__arm__) |
| 328 RESTRICT_SYSCALL_DEATH_TEST(pciconfig_read); | 327 RESTRICT_SYSCALL_DEATH_TEST(pciconfig_read); |
| 329 #endif | 328 #endif |
| 330 #if defined(__arm__) | 329 #if defined(__arm__) |
| 331 RESTRICT_SYSCALL_DEATH_TEST(pciconfig_write); | 330 RESTRICT_SYSCALL_DEATH_TEST(pciconfig_write); |
| 332 #endif | 331 #endif |
| (...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 608 RESTRICT_ARM_SYSCALL_DEATH_TEST(breakpoint); | 607 RESTRICT_ARM_SYSCALL_DEATH_TEST(breakpoint); |
| 609 RESTRICT_ARM_SYSCALL_DEATH_TEST(usr26); | 608 RESTRICT_ARM_SYSCALL_DEATH_TEST(usr26); |
| 610 RESTRICT_ARM_SYSCALL_DEATH_TEST(usr32); | 609 RESTRICT_ARM_SYSCALL_DEATH_TEST(usr32); |
| 611 RESTRICT_ARM_SYSCALL_DEATH_TEST(set_tls); | 610 RESTRICT_ARM_SYSCALL_DEATH_TEST(set_tls); |
| 612 #endif | 611 #endif |
| 613 | 612 |
| 614 } // namespace | 613 } // namespace |
| 615 | 614 |
| 616 #endif // !ADDRESS_SANITIZER && !THREAD_SANITIZER && | 615 #endif // !ADDRESS_SANITIZER && !THREAD_SANITIZER && |
| 617 // !MEMORY_SANITIZER && !LEAK_SANITIZER | 616 // !MEMORY_SANITIZER && !LEAK_SANITIZER |
| OLD | NEW |