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

Unified Diff: components/nacl/loader/nonsfi/irt_exception_handling.cc

Issue 1158793003: Enable one PID namespace per process for NaCl processes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Enable PID namespace per process for nonsfi newlib NaCl as well. 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
Index: components/nacl/loader/nonsfi/irt_exception_handling.cc
diff --git a/components/nacl/loader/nonsfi/irt_exception_handling.cc b/components/nacl/loader/nonsfi/irt_exception_handling.cc
index 327f6a40e598dfcb69e99f791bd822d103df09e6..ebbeaa0e86056a758db684127283b9da687d370c 100644
--- a/components/nacl/loader/nonsfi/irt_exception_handling.cc
+++ b/components/nacl/loader/nonsfi/irt_exception_handling.cc
@@ -49,7 +49,7 @@ void SignalCatch(int sig, siginfo_t* info, void* uc) {
not useful for NonSFI NaCl. */);
signal_handler_function_pointer(&exception_frame.context);
}
- _exit(-1);
+ _exit(-sig);
}
int IrtExceptionHandler(NaClExceptionHandler handler,
« no previous file with comments | « components/nacl/loader/nacl_helper_linux.cc ('k') | components/nacl/loader/sandbox_linux/nacl_sandbox_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698