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

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

Issue 253753003: Enable use_sigaltstack=1 for ASan builds. This will ease the stack overflow detection. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move __NR_sigaltstack to baseline_policy.cc Created 6 years, 7 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 | Annotate | Revision Log
OLDNEW
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
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
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.
OLDNEW
« base/debug/sanitizer_options.cc ('K') | « sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698