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 |