VirtualBox

Changeset 96166 in vbox


Ignore:
Timestamp:
Aug 12, 2022 11:58:35 AM (2 years ago)
Author:
vboxsync
Message:

HostDrivers/Support/win: Update log messages and code comments to
reflect the renaming of 'VBoxDrv.sys' to 'VBoxSup.sys' on Windows.
bugref:10162 ticketref:21055

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/win/SUPR3HardenedMain-win.cpp

    r96138 r96166  
    52625262                                      "NtCreateFile(%ls) failed: VERR_SUPDRV_APIPORT_OPEN_ERROR\n"
    52635263                                      "\n"
    5264                                       "Error getting %s\\ApiPort in the driver from vboxdrv.\n"
     5264                                      "Error getting %s\\ApiPort in the driver from vboxsup.\n"
    52655265                                      "\n"
    52665266                                      "Could be due to security software is redirecting access to it, so please include full "
     
    53435343     * Before the 2nd respawn we set up a child protection deal with the
    53445344     * support driver via /Devices/VBoxDrvStub.  (We tried to do this
    5345      * during the early init, but in case we had trouble accessing vboxdrv we
    5346      * retry it here where we have kernel32.dll and others to pull in for
    5347      * better diagnostics.)
     5345     * during the early init, but in case we had trouble accessing vboxdrv
     5346     * (renamed to vboxsup in 7.0 and 6.1.34) we retry it here where we
     5347     * have kernel32.dll and others to pull in for better diagnostics.)
    53485348     */
    53495349    if (iWhich == 2)
     
    68276827 * call protection software that is in the habit of patching half of the ntdll
    68286828 * and kernel32 APIs in the process, making it almost indistinguishable from
    6829  * software that is up to no good.  Once we've opened vboxdrv, the process
    6830  * should be locked down so thighly that only kernel software and csrss can mess
    6831  * with the process.
     6829 * software that is up to no good.  Once we've opened vboxdrv (renamed to
     6830 * vboxsup in 7.0 and 6.1.34), the process should be locked down so tightly
     6831 * that only kernel software and csrss can mess with the process.
    68326832 */
    68336833DECLASM(uintptr_t) supR3HardenedEarlyProcessInit(void)
     
    69706970    if (cArgs >= 1 && suplibHardenedStrCmp(papszArgs[0], SUPR3_RESPAWN_1_ARG0) == 0)
    69716971    {
    6972         SUP_DPRINTF(("supR3HardenedVmProcessInit: Opening vboxdrv stub...\n"));
     6972        SUP_DPRINTF(("supR3HardenedVmProcessInit: Opening vboxsup stub...\n"));
    69736973        supR3HardenedWinOpenStubDevice();
    69746974        g_enmSupR3HardenedMainState = SUPR3HARDENEDMAINSTATE_WIN_EARLY_STUB_DEVICE_OPENED;
     
    69766976    else if (cArgs >= 1 && suplibHardenedStrCmp(papszArgs[0], SUPR3_RESPAWN_2_ARG0) == 0)
    69776977    {
    6978         SUP_DPRINTF(("supR3HardenedVmProcessInit: Opening vboxdrv...\n"));
     6978        SUP_DPRINTF(("supR3HardenedVmProcessInit: Opening vboxsup...\n"));
    69796979        supR3HardenedMainOpenDevice();
    69806980        g_enmSupR3HardenedMainState = SUPR3HARDENEDMAINSTATE_WIN_EARLY_REAL_DEVICE_OPENED;
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