Changeset 104160 in vbox
- Timestamp:
- Apr 4, 2024 3:43:32 PM (6 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPR3HardenedMain.cpp
r99739 r104160 1344 1344 suplibHardenedStrCopy(g_szSupLibHardenedAppBinPath, g_szSupLibHardenedExePath); 1345 1345 suplibHardenedPathStripFilename(g_szSupLibHardenedAppBinPath); 1346 1347 /* Make sure binary is located in known location (unix-like hosts only). */ 1348 #if defined(RT_OS_LINUX) || defined(RT_OS_FREEBSD) || defined(RT_OS_SOLARIS) || defined(RT_OS_DARWIN) 1349 if (strncmp(RTPATH_APP_PRIVATE, g_szSupLibHardenedAppBinPath, sizeof(RTPATH_APP_PRIVATE)) != 0) 1350 supR3HardenedFatal("supR3HardenedExecDir: refusing to start binary from unknown location %s\n", 1351 g_szSupLibHardenedAppBinPath); 1352 #endif 1346 1353 1347 1354 g_offSupLibHardenedExecName = suplibHardenedStrLen(g_szSupLibHardenedAppBinPath);
Note:
See TracChangeset
for help on using the changeset viewer.

