VirtualBox

Changeset 41454 in vbox for trunk/src


Ignore:
Timestamp:
May 28, 2012 12:01:24 AM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
78196
Message:

SUPR3LoadServiceModule: Use the plug-in verification method instead of the fixed/known file one so that extension packs and correctly installed testcases can use SUPR3LoadServiceModule,

File:
1 edited

Legend:

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

    r41147 r41454  
    15881588                                      const char *pszSrvReqHandler, void **ppvImageBase)
    15891589{
    1590     int rc = VINF_SUCCESS;
    15911590    AssertPtrReturn(pszSrvReqHandler, VERR_INVALID_PARAMETER);
    15921591
    1593 #ifdef VBOX_WITH_HARDENING
    15941592    /*
    15951593     * Check that the module can be trusted.
    15961594     */
    1597     rc = supR3HardenedVerifyFixedFile(pszFilename, false /* fFatal */);
    1598 #endif
     1595    int rc = SUPR3HardenedVerifyPlugIn(pszFilename, NULL /*pErrInfo*/);
    15991596    if (RT_SUCCESS(rc))
    16001597        rc = supLoadModule(pszFilename, pszModule, pszSrvReqHandler, ppvImageBase);
     
    25732570        if ((int64_t)u64Tmp != (int32_t)u64Tmp)
    25742571        {
    2575             LogRel(("SUPR3TracerRegisterModule: VERR_SUPDRV_VTG_BAD_HDR_PTR - u64Tmp=%#llx uProbeLocs=%#llx uVtgHdrAddr=%RTptr\n", 
     2572            LogRel(("SUPR3TracerRegisterModule: VERR_SUPDRV_VTG_BAD_HDR_PTR - u64Tmp=%#llx uProbeLocs=%#llx uVtgHdrAddr=%RTptr\n",
    25762573                    u64Tmp, pVtgHdr->uProbeLocs.u64, uVtgHdrAddr));
    25772574            return VERR_SUPDRV_VTG_BAD_HDR_PTR;
Note: See TracChangeset for help on using the changeset viewer.

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