+(disabled) option to not to use custom SIGSEGV handler for .so filesystem format
authorshort <>
Fri, 22 Nov 2002 19:06:52 +0000 (19:06 +0000)
committershort <>
Fri, 22 Nov 2002 19:06:52 +0000 (19:06 +0000)
src/libcaptive/client/init.c

index c093103..beaa325 100644 (file)
@@ -142,6 +142,9 @@ char QueryDirectory_buf[0x10000];
        PsGetCurrentThread()->TopLevelIrp=&TopLevelIrp; /* otherwise Io{Get,Set}TopLevelIrp() would SIGSEGV */
 
        /* Begin possible handling of foreign W32 binary code here */
+       /* If you want to disable SIGSEGV handler if not needed:
+        *      if (ModuleObject->Flags & MODULE_FLAG_PE)
+        */
        captive_signal_init();
 
        /* Do not open "\Cdfs"(anything) as it is just the filesystem implementation.