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

Issue 10095012: Disable the signal handlers set by AddressSanitizer. (Closed)

Created:
8 years, 8 months ago by Alexander Potapenko
Modified:
8 years, 2 months ago
CC:
native-client-reviews_googlegroups.com, kcc2, Nico
Base URL:
http://src.chromium.org/native_client/trunk/src/native_client/
Visibility:
Public.

Description

Disable the signal handlers set by AddressSanitizer. This seems to be the least invasive way to have the ASan SIGSEGV handler in every process but the NaCl sandbox. Calling __asan_disable_signal_handlers() from a process resets the currently installed signal handler to SIG_DFL and sets AddressSanitizer's handle_segv flag to 0, allowing to further reinstall any other signal handler. BUG=nativeclient:2717, address-sanitizer:65

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -0 lines) Patch
M src/trusted/service_runtime/sel_main_chrome.c View 2 chunks +7 lines, -0 lines 3 comments Download

Messages

Total messages: 6 (0 generated)
Alexander Potapenko
Please take a look. Note that the corresponding bits for Clang are ready, but not ...
8 years, 8 months ago (2012-04-16 13:10:58 UTC) #1
Alexander Potapenko
A friendly ping.
8 years, 8 months ago (2012-04-19 12:04:23 UTC) #2
Mark Seaborn
This looks OK in principle. Can you run a try job, please? I suspect it ...
8 years, 8 months ago (2012-04-19 16:16:39 UTC) #3
pasko-google - do not use
On 2012/04/19 16:16:39, Mark Seaborn wrote: https://chromiumcodereview.appspot.com/10095012/diff/1/src/trusted/service_runtime/sel_main_chrome.c#newcode155 > src/trusted/service_runtime/sel_main_chrome.c:155: > __asan_disable_signal_handlers(); > Can you add ...
8 years, 8 months ago (2012-04-19 18:43:50 UTC) #4
Mark Seaborn
I think this change was superseded by a later change, so I will close this ...
8 years, 2 months ago (2012-09-27 02:27:32 UTC) #5
Alexander Potapenko
8 years, 2 months ago (2012-09-27 08:19:32 UTC) #6
On 2012/09/27 02:27:32, Mark Seaborn wrote:
> I think this change was superseded by a later change, so I will close this
> Rietveld issue.

Yes, that's right. Thank you.

Powered by Google App Engine
This is Rietveld 408576698