VirtualBox

Changeset 100772 in vbox for trunk/include


Ignore:
Timestamp:
Aug 1, 2023 5:34:48 PM (17 months ago)
Author:
vboxsync
Message:

include/VBox/usbfilter.h,HostDrivers/VBoxUSB/USBFilter: IUSBDeviceFilter:
USB device interval filters don't work. bugref:10452

Main/Host,Main/USBDeviceFilter: Adding or removing global USB device
filters causes memory corruption wihch can lead to a deadlock or a SEGV
as the list of global USB device filters (llChildren) changes while
the list is being walked.

Frontends/VBoxManage: 'VBoxManage list usbfilters' doesn't display the
'Port' value of the device filter.

Frontends/VBoxManage: 'VBoxManage add usbfilter' and 'VBoxManage modify
usbfilter' both ignore the --product="Value" option.

Main/VirtualBox.xidl: Improve the IUSBDeviceFilter wording to make
things clearer in the 'VirtualBox Programming Guide and Reference Guide'
aka SDKRef.pdf.

HostDrivers/VBoxUSB/testcase/tstUSBFilter: Include a variety of USB
device filter entries which include the 'int:' prefix to fully exercise
the interval filter parsing code.

Location:
trunk/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/usbfilter.h

    r98103 r100772  
    7373    /** Numeric Field: Exact match or not present. */
    7474    USBFILTERMATCH_NUM_EXACT_NP,
    75     /** Numeric Field: Expression match, required to be present.
    76      * The expression is represented as a string. */
    77     USBFILTERMATCH_NUM_EXPRESSION,
    78     /** Numeric Field: Expression match or not present.
    79      * The expression is represented as a string. */
    80     USBFILTERMATCH_NUM_EXPRESSION_NP,
    8175    /** Numeric Field: The last numeric field matching method (inclusive). */
    82     USBFILTERMATCH_NUM_LAST = USBFILTERMATCH_NUM_EXPRESSION_NP,
     76    USBFILTERMATCH_NUM_LAST = USBFILTERMATCH_NUM_EXACT_NP,
    8377
    8478    /** String Field: The first string field matching method. */
     
    9286    /** String Field: Pattern match or not present.*/
    9387    USBFILTERMATCH_STR_PATTERN_NP,
     88    /** String Field: Numerical expression match, required to be present. */
     89    USBFILTERMATCH_NUM_EXPRESSION,
     90    /** String Field: Numerical expression match or not present. */
     91    USBFILTERMATCH_NUM_EXPRESSION_NP,
    9492    /** String Field: The last string field matching method (inclusive). */
    95     USBFILTERMATCH_STR_LAST = USBFILTERMATCH_STR_PATTERN_NP,
     93    USBFILTERMATCH_STR_LAST = USBFILTERMATCH_NUM_EXPRESSION_NP,
    9694
    9795    /** The end of valid matching methods (exclusive). */
  • trunk/include/iprt/err.h

    r100528 r100772  
    211211/** A numeric conversion encountered a value which was too big for the target. */
    212212#define VWRN_NUMBER_TOO_BIG                 55
    213 /** The number begin converted (string) contained no digits. */
     213/** The number being converted (string) contained no digits. */
    214214#define VERR_NO_DIGITS                      (-56)
    215 /** The number begin converted (string) contained no digits. */
     215/** The number being converted (string) contained no digits. */
    216216#define VWRN_NO_DIGITS                      56
    217217/** Encountered a '-' during conversion to an unsigned value. */
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