VirtualBox

Changeset 93177 in vbox


Ignore:
Timestamp:
Jan 11, 2022 1:16:55 AM (3 years ago)
Author:
vboxsync
Message:

SUP: A couple of adjustments for driverless mode. bugref:10138

File:
1 edited

Legend:

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

    r93115 r93177  
    190190        return VERR_INVALID_HANDLE;
    191191    if (    (fFlags & SUPSECMAIN_FLAGS_DONT_OPEN_DEV)
    192         &&  pPreInitData->Data.hDevice != SUP_HDEVICE_NIL)
     192        &&  pPreInitData->Data.hDevice != SUP_HDEVICE_NIL
     193        &&  !pPreInitData->Data.fDriverless)
    193194        return VERR_INVALID_PARAMETER;
    194195
     
    231232    if (g_cInits++ > 0)
    232233    {
    233         if ((fFlags & SUPR3INIT_F_UNRESTRICTED) && !g_supLibData.fUnrestricted)
     234        if (   (fFlags & SUPR3INIT_F_UNRESTRICTED)
     235            && !g_supLibData.fUnrestricted
     236            && !g_supLibData.fDriverless)
    234237        {
    235238            g_cInits--;
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