VirtualBox

Changeset 52417 in vbox for trunk/src/VBox/HostDrivers


Ignore:
Timestamp:
Aug 19, 2014 3:11:12 PM (10 years ago)
Author:
vboxsync
Message:

Startup optimization: Don't check the hardened-program.dll signature before we need it, because we won't be loading this DLL in the first two processes we spawn anyway and it's a waste of time to check a huge DLL two times extra. We'll check it when loading the DLL, so no worries.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/SUPR3HardenedVerify.cpp

    r52355 r52417  
    875875                                            "supR3HardenedVerifyProgram: duplicate DLL entry for \"%s\"\n", pszProgName);
    876876                else
    877                     rc = supR3HardenedVerifyFileInternal(iFile, fFatal, fLeaveOpen, false /* fVerifyAll */);
     877                    rc = supR3HardenedVerifyFileInternal(iFile, fFatal, fLeaveOpen,
     878                                                         true /* fVerifyAll - check sign later, only final process need check it on load. */);
    878879                fDll = true;
    879880            }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette