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

Unified Diff: src/trusted/service_runtime/sel_main.c

Issue 9316125: Adding untrusted crash dump / stack trace tests. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Fixing review comments 2 Created 8 years, 10 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: src/trusted/service_runtime/sel_main.c
diff --git a/src/trusted/service_runtime/sel_main.c b/src/trusted/service_runtime/sel_main.c
index 7987c53737262c1eb98ee8dd10772b70011579dc..3b125de3d3390317dea508b66b81e5cc8534e2fb 100644
--- a/src/trusted/service_runtime/sel_main.c
+++ b/src/trusted/service_runtime/sel_main.c
@@ -219,6 +219,10 @@ int main(int argc,
envp = (const char **) environ;
#endif
+ if (getenv("NACL_UNTRUSTED_EXCEPTION_HANDLING") != NULL) {
+ exception_handling_requested = 1;
+ }
+
#if NACL_ARCH(NACL_BUILD_ARCH) == NACL_arm || NACL_SANDBOX_FIXED_AT_ZERO == 1
/*
* Set malloc not to use mmap even for large allocations. This is currently

Powered by Google App Engine
This is Rietveld 408576698