vboxusb: include upstream SPDX license stubs for embedded driver assets
The VBoxUSB.sys / VBoxUSBMon.sys / .inf / .cat binaries copied from
dorssel/usbipd-win Drivers/{x64,arm64}/ ship paired SPDX
*.license files that record Oracle's GPL-3.0-only copyright. Carrying
them next to the assets keeps the provenance discoverable.
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
SPDX-FileCopyrightText: Microsoft Corporation
|
||||
|
||||
SPDX-License-Identifier: GPL-3.0-only
|
||||
@@ -0,0 +1,3 @@
|
||||
SPDX-FileCopyrightText: 2011-2025 Oracle and/or its affiliates
|
||||
|
||||
SPDX-License-Identifier: GPL-3.0-only
|
||||
@@ -0,0 +1,3 @@
|
||||
SPDX-FileCopyrightText: 2009-2026 Oracle and/or its affiliates
|
||||
|
||||
SPDX-License-Identifier: GPL-3.0-only
|
||||
@@ -0,0 +1,3 @@
|
||||
SPDX-FileCopyrightText: 2009-2026 Oracle and/or its affiliates
|
||||
|
||||
SPDX-License-Identifier: GPL-3.0-only
|
||||
@@ -0,0 +1,3 @@
|
||||
SPDX-FileCopyrightText: Microsoft Corporation
|
||||
|
||||
SPDX-License-Identifier: GPL-3.0-only
|
||||
@@ -0,0 +1,3 @@
|
||||
SPDX-FileCopyrightText: 2011-2025 Oracle and/or its affiliates
|
||||
|
||||
SPDX-License-Identifier: GPL-3.0-only
|
||||
@@ -0,0 +1,3 @@
|
||||
SPDX-FileCopyrightText: 2009-2026 Oracle and/or its affiliates
|
||||
|
||||
SPDX-License-Identifier: GPL-3.0-only
|
||||
@@ -0,0 +1,3 @@
|
||||
SPDX-FileCopyrightText: 2009-2026 Oracle and/or its affiliates
|
||||
|
||||
SPDX-License-Identifier: GPL-3.0-only
|
||||
@@ -19,9 +19,9 @@ import (
|
||||
// concurrent use on the same Device — the session layer serializes
|
||||
// per-endpoint via per-endpoint goroutines.
|
||||
type Device struct {
|
||||
handle windows.Handle
|
||||
event windows.Handle
|
||||
closing sync.Once
|
||||
handle windows.Handle
|
||||
event windows.Handle
|
||||
closing sync.Once
|
||||
closeErr error
|
||||
}
|
||||
|
||||
|
||||
@@ -93,13 +93,13 @@ type GUID struct {
|
||||
// Method = METHOD_BUFFERED (0).
|
||||
const (
|
||||
// Per-device VBoxUSB.sys (\\?\<setupapi-resolved path>).
|
||||
IOCTLSendURB uint32 = 0x0022_181C // function 0x607
|
||||
IOCTLSendURB uint32 = 0x0022_181C // function 0x607
|
||||
IOCTLUSBSelectInterface uint32 = 0x0022_1824 // function 0x609
|
||||
IOCTLUSBSetConfig uint32 = 0x0022_1828 // function 0x60a
|
||||
IOCTLUSBClaimDevice uint32 = 0x0022_182C // function 0x60b
|
||||
IOCTLUSBClearEndpoint uint32 = 0x0022_1838 // function 0x60e
|
||||
IOCTLGetVersion uint32 = 0x0022_183C // function 0x60f
|
||||
IOCTLUSBAbortEndpoint uint32 = 0x0022_1840 // function 0x610
|
||||
IOCTLUSBSetConfig uint32 = 0x0022_1828 // function 0x60a
|
||||
IOCTLUSBClaimDevice uint32 = 0x0022_182C // function 0x60b
|
||||
IOCTLUSBClearEndpoint uint32 = 0x0022_1838 // function 0x60e
|
||||
IOCTLGetVersion uint32 = 0x0022_183C // function 0x60f
|
||||
IOCTLUSBAbortEndpoint uint32 = 0x0022_1840 // function 0x610
|
||||
|
||||
// VBoxUSBMon (\\.\VBoxUSBMon). Note GET_VERSION shares the numeric
|
||||
// code with VBoxUSB's USB_ABORT_ENDPOINT — different handles.
|
||||
|
||||
Reference in New Issue
Block a user