aboutsummaryrefslogtreecommitdiffstats
path: root/syz-cluster
diff options
context:
space:
mode:
authorAndrey Konovalov <andreyknvl@gmail.com>2025-08-20 13:13:29 +0000
committerAleksandr Nogikh <nogikh@google.com>2025-08-21 12:29:58 +0000
commitfd2d17b5741b976098e48fb15119a366a2f60a42 (patch)
tree78c4d28fdfa30ab3a8cf4abfc2461fa0c1f1758d /syz-cluster
parenta083215dfb83bea8c632990cd5232c159ebcc676 (diff)
sys/linux: patch in hardcoded USB IDs for USB printer driver
Some USB drivers contain quirks (special handling code) for USB devices with specific USB IDs. Sometimes the IDs for these quirks are encoded in the driver matching rules (and thus are auto-extracted into sys/linux/init_vusb_ids.go), but sometimes these IDs are hardcoded in the driver itself. This patch extends the generateUsbPrinterDeviceDescriptor function to also sometimes generate USB IDs to exercise the hardcoded quirks for the USB printer class. Similar functionality can be implemented for other USB drivers later.
Diffstat (limited to 'syz-cluster')
0 files changed, 0 insertions, 0 deletions