VirtualBox

Changeset 104500 in vbox for trunk/src/VBox/Devices/USB


Ignore:
Timestamp:
May 3, 2024 10:15:20 AM (10 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
163022
Message:

Devices/USB/USBProxyDevice-darwin.cpp: Request authorization for capturing the device from the user, bugref:10684

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/USB/darwin/USBProxyDevice-darwin.cpp

    r100108 r104500  
    12181218
    12191219    /*
     1220     * Ask for authorization (which only works with the com.apple.vm.device-access entitlement).
     1221     */
     1222    irc = IOServiceAuthorize(USBDevice, kIOServiceInteractionAllowed);
     1223    if (irc != kIOReturnSuccess)
     1224        LogRel(("Failed to get device authorization, capturing the device might now work: irc=%#x\n", irc));
     1225
     1226    /*
    12201227     * Create a plugin interface for the device and query its IOUSBDeviceInterface.
    12211228     */
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