OLD | NEW |
---|---|
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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-helpers/syscall_sets.h" | 5 #include "sandbox/linux/seccomp-bpf-helpers/syscall_sets.h" |
6 | 6 |
7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
8 #include "sandbox/linux/services/linux_syscalls.h" | 8 #include "sandbox/linux/services/linux_syscalls.h" |
9 | 9 |
10 namespace sandbox { | 10 namespace sandbox { |
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
292 case __NR_sigaction: | 292 case __NR_sigaction: |
293 case __NR_sigprocmask: | 293 case __NR_sigprocmask: |
294 case __NR_sigreturn: | 294 case __NR_sigreturn: |
295 #endif | 295 #endif |
296 return true; | 296 return true; |
297 case __NR_rt_sigpending: | 297 case __NR_rt_sigpending: |
298 case __NR_rt_sigqueueinfo: | 298 case __NR_rt_sigqueueinfo: |
299 case __NR_rt_sigsuspend: | 299 case __NR_rt_sigsuspend: |
300 case __NR_rt_sigtimedwait: | 300 case __NR_rt_sigtimedwait: |
301 case __NR_rt_tgsigqueueinfo: | 301 case __NR_rt_tgsigqueueinfo: |
302 case __NR_sigaltstack: | |
jln (very slow on Chromium)
2014/04/30 16:05:08
FYI you should dnot have removed this, the syscall
| |
303 case __NR_signalfd: | 302 case __NR_signalfd: |
304 case __NR_signalfd4: | 303 case __NR_signalfd4: |
305 #if defined(__i386__) || defined(__arm__) | 304 #if defined(__i386__) || defined(__arm__) |
306 case __NR_sigpending: | 305 case __NR_sigpending: |
307 case __NR_sigsuspend: | 306 case __NR_sigsuspend: |
308 #endif | 307 #endif |
309 #if defined(__i386__) | 308 #if defined(__i386__) |
310 case __NR_signal: | 309 case __NR_signal: |
311 case __NR_sgetmask: // Obsolete. | 310 case __NR_sgetmask: // Obsolete. |
312 case __NR_ssetmask: | 311 case __NR_ssetmask: |
(...skipping 658 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
971 case __ARM_NR_usr26: | 970 case __ARM_NR_usr26: |
972 case __ARM_NR_usr32: | 971 case __ARM_NR_usr32: |
973 return true; | 972 return true; |
974 default: | 973 default: |
975 return false; | 974 return false; |
976 } | 975 } |
977 } | 976 } |
978 #endif // defined(__arm__) | 977 #endif // defined(__arm__) |
979 | 978 |
980 } // namespace sandbox. | 979 } // namespace sandbox. |
OLD | NEW |