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

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: taking out of irt tests 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 2f17887da45b8d5e58aa8ba0fe7d8076374a130a..42b8f5188ee11c6e30b19980b82eac0ef23a43d9 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) {
Mark Seaborn 2012/02/13 19:04:08 If you put this immediately before "if (exception_
bradn 2012/02/13 23:42:03 Done.
+ 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