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

Issue 253753003: Enable use_sigaltstack=1 for ASan builds. This will ease the stack overflow detection. (Closed)

Created:
6 years, 7 months ago by Alexander Potapenko
Modified:
6 years, 7 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org
Visibility:
Public.

Description

Enable use_sigaltstack=1 for ASan builds. This will ease the stack overflow detection. Also whitelist __NR_sigaltstack in seccomp-bpf under ASan. BUG=302040 R=jln@chromium.org TBR=thakis@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=267220

Patch Set 1 #

Patch Set 2 : allow __NR_sigaltstack under ASan #

Patch Set 3 : Move __NR_sigaltstack to baseline_policy.cc #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -4 lines) Patch
M base/debug/sanitizer_options.cc View 2 chunks +5 lines, -3 lines 2 comments Download
M sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc View 1 2 1 chunk +0 lines, -1 line 1 comment Download

Messages

Total messages: 23 (0 generated)
Alexander Potapenko
Julien, can you please take a look?
6 years, 7 months ago (2014-04-29 09:07:21 UTC) #1
jln (very slow on Chromium)
On 2014/04/29 09:07:21, Alexander Potapenko wrote: > Julien, can you please take a look? Could ...
6 years, 7 months ago (2014-04-29 17:49:54 UTC) #2
jln (very slow on Chromium)
On 2014/04/29 17:49:54, jln wrote: > On 2014/04/29 09:07:21, Alexander Potapenko wrote: > > Julien, ...
6 years, 7 months ago (2014-04-30 05:52:24 UTC) #3
Alexander Potapenko
The CQ bit was checked by glider@chromium.org
6 years, 7 months ago (2014-04-30 10:54:31 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/glider@chromium.org/253753003/40001
6 years, 7 months ago (2014-04-30 10:54:38 UTC) #5
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-30 10:58:24 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_clang_dbg on tryserver.chromium
6 years, 7 months ago (2014-04-30 10:58:24 UTC) #7
Alexander Potapenko
The CQ bit was checked by glider@chromium.org
6 years, 7 months ago (2014-04-30 12:00:39 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/glider@chromium.org/253753003/40001
6 years, 7 months ago (2014-04-30 12:01:16 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-30 12:04:37 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium
6 years, 7 months ago (2014-04-30 12:04:37 UTC) #11
Alexander Potapenko
The CQ bit was checked by glider@chromium.org
6 years, 7 months ago (2014-04-30 13:36:07 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/glider@chromium.org/253753003/40001
6 years, 7 months ago (2014-04-30 13:36:40 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-30 13:49:44 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium
6 years, 7 months ago (2014-04-30 13:49:45 UTC) #15
Alexander Potapenko
On 2014/04/30 13:49:45, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years, 7 months ago (2014-04-30 14:15:49 UTC) #16
Alexander Potapenko
TBRing Nico for base/debug ownership. Nico, care if I add myself as a per-file owner ...
6 years, 7 months ago (2014-04-30 14:16:33 UTC) #17
Alexander Potapenko
The CQ bit was checked by glider@chromium.org
6 years, 7 months ago (2014-04-30 14:16:38 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/glider@chromium.org/253753003/40001
6 years, 7 months ago (2014-04-30 14:17:08 UTC) #19
commit-bot: I haz the power
Change committed as 267220
6 years, 7 months ago (2014-04-30 15:18:01 UTC) #20
Nico
base lgtm The file owner suggestions sounds good! https://codereview.chromium.org/253753003/diff/40001/base/debug/sanitizer_options.cc File base/debug/sanitizer_options.cc (right): https://codereview.chromium.org/253753003/diff/40001/base/debug/sanitizer_options.cc#newcode39 base/debug/sanitizer_options.cc:39: // ...
6 years, 7 months ago (2014-04-30 15:23:38 UTC) #21
jln (very slow on Chromium)
https://codereview.chromium.org/253753003/diff/40001/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc File sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc (left): https://codereview.chromium.org/253753003/diff/40001/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc#oldcode302 sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:302: case __NR_sigaltstack: FYI you should dnot have removed this, ...
6 years, 7 months ago (2014-04-30 16:05:08 UTC) #22
Alexander Potapenko
6 years, 7 months ago (2014-04-30 16:08:15 UTC) #23
Message was sent while issue was closed.
https://codereview.chromium.org/253753003/diff/40001/base/debug/sanitizer_opt...
File base/debug/sanitizer_options.cc (right):

https://codereview.chromium.org/253753003/diff/40001/base/debug/sanitizer_opt...
base/debug/sanitizer_options.cc:39: //   use_sigaltstack=1 - handle signals on
an alternate signal stack. Useful
That's named after the sigaltstack() function :)

Powered by Google App Engine
This is Rietveld 408576698