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 |