Changeset 94439 in vbox for trunk/src/VBox/HostDrivers/Support/posix
- Timestamp:
- Apr 1, 2022 2:02:04 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/posix/SUPR3HardenedMain-posix.cpp
r93115 r94439 61 61 * Structures and Typedefs * 62 62 *********************************************************************************************************************************/ 63 #ifndef SUP_HARDENED_WITHOUT_DLOPEN_PATCHING 63 64 /** 64 65 * Callback (SUPHARDENEDPOSIXHOOK::pfnResolv) for triggering lazy GOT resolver. … … 107 108 #endif 108 109 110 #endif /* SUP_HARDENED_WITHOUT_DLOPEN_PATCHING */ 111 109 112 110 113 /********************************************************************************************************************************* 111 114 * Internal Functions * 112 115 *********************************************************************************************************************************/ 116 #ifndef SUP_HARDENED_WITHOUT_DLOPEN_PATCHING 113 117 static FNSUPHARDENEDSYMRESOLVE supR3HardenedPosixMonitorDlopenResolve; 114 118 #ifdef SUP_HARDENED_WITH_DLMOPEN … … 121 125 DECLASM(void) supR3HardenedPosixMonitor_Dlmopen(Lmid_t idLm, const char *pszFilename, int fFlags); 122 126 #endif 127 #endif /* SUP_HARDENED_WITHOUT_DLOPEN_PATCHING */ 123 128 124 129 … … 126 131 * Global Variables * 127 132 *********************************************************************************************************************************/ 133 #ifndef SUP_HARDENED_WITHOUT_DLOPEN_PATCHING 134 128 135 RT_C_DECLS_BEGIN 129 136 /** Resume patch for dlopen(), jumped to form assembly stub. */ … … 620 627 #endif 621 628 629 #endif /* SUP_HARDENED_WITHOUT_DLOPEN_PATCHING */ 630 622 631 623 632 /** … … 630 639 DECLHIDDEN(void) supR3HardenedPosixInit(void) 631 640 { 641 #ifndef SUP_HARDENED_WITHOUT_DLOPEN_PATCHING 632 642 for (unsigned i = 0; i < RT_ELEMENTS(g_aHooks); i++) 633 643 { … … 638 648 "Failed to hook the %s interface", pHook->pszSymbol); 639 649 } 650 #endif 640 651 } 641 652
Note:
See TracChangeset
for help on using the changeset viewer.