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

Unified Diff: src/nonsfi/linux/irt_exception_handling.c

Issue 1184233002: Exit with -sig when handling signals. (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/nonsfi/linux/irt_exception_handling.c
diff --git a/src/nonsfi/linux/irt_exception_handling.c b/src/nonsfi/linux/irt_exception_handling.c
index 3fee2a6403598b8216fabc6556ff2c93974664c8..752e674a1d58f0a1c496fe30c27b5e1a3c251a55 100644
--- a/src/nonsfi/linux/irt_exception_handling.c
+++ b/src/nonsfi/linux/irt_exception_handling.c
@@ -196,7 +196,7 @@ static void signal_catch(int sig, linux_siginfo_t *info, void *uc) {
exception_frame_from_signal_context(&exception_frame, uc);
g_signal_handler_function_pointer(&exception_frame.context);
}
- _exit(-1);
+ _exit(-sig);
}
static void nonsfi_initialize_signal_handler_locked() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698