From 8a9f1e7dbdb76a9c0af0dc6e3e75e446a7838dc8 Mon Sep 17 00:00:00 2001 From: Andrey Konovalov Date: Wed, 13 May 2020 19:48:00 +0200 Subject: executor, sys/linux: syz_usb_ep_read/write accept endpoint address This patch changes syz_usb_ep_read/write pseudo-syscalls to accept endpoint address as specified in its endpoint descriptor, instead of endpoint index. --- sys/linux/test/vusb_cdc_ecm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/linux/test/vusb_cdc_ecm') diff --git a/sys/linux/test/vusb_cdc_ecm b/sys/linux/test/vusb_cdc_ecm index 848158cc4..d6997255c 100644 --- a/sys/linux/test/vusb_cdc_ecm +++ b/sys/linux/test/vusb_cdc_ecm @@ -4,4 +4,4 @@ r0 = syz_usb_connect$cdc_ecm(0x0, 0x4d, &(0x7f0000000000)={{0x12, 0x1, 0x0, 0x2, syz_usb_control_io$cdc_ecm(r0, 0x0, 0x0) syz_usb_control_io$cdc_ecm(r0, 0x0, 0x0) syz_usb_control_io$cdc_ecm(r0, &(0x7f0000000080)={0x14, 0x0, &(0x7f0000000040)={0x0, 0x3, 0x1a, {0x1a, 0x3, {0x3400320034003200, 0x3400320034003200, 0x3400320034003200}}}}, 0x0) -syz_usb_ep_write(r0, 0x0, 0x5, &(0x7f0000002340)='hello') +syz_usb_ep_write(r0, 0x82, 0x5, &(0x7f0000002340)='hello') -- cgit mrf-deployment