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

Unified Diff: src/trusted/service_runtime/linux/nacl_signal.c

Issue 1159803003: Add SIGHUP and SIGTERM handlers in NaCl. (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Created 5 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 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/trusted/service_runtime/linux/nacl_signal.c
diff --git a/src/trusted/service_runtime/linux/nacl_signal.c b/src/trusted/service_runtime/linux/nacl_signal.c
index a260c0b095f056f4c90c95f9742de62410297f49..f268b4fdbec84e86f8fcfebd289e9ad88c4b9276 100644
--- a/src/trusted/service_runtime/linux/nacl_signal.c
+++ b/src/trusted/service_runtime/linux/nacl_signal.c
@@ -43,7 +43,7 @@ static int s_Signals[] = {
#endif
SIGSYS, /* Used to support a seccomp-bpf sandbox. */
NACL_THREAD_SUSPEND_SIGNAL,
- SIGINT, SIGQUIT, SIGILL, SIGTRAP, SIGBUS, SIGFPE, SIGSEGV,
+ SIGHUP, SIGINT, SIGQUIT, SIGILL, SIGTRAP, SIGBUS, SIGFPE, SIGSEGV, SIGTERM,
Mark Seaborn 2015/06/04 19:44:05 Nit: your commit message says you're adding SIGINT
/* Handle SIGABRT in case someone sends it asynchronously using kill(). */
SIGABRT
};
« 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