sys/linux: add USB hiddev runtest

This commit is contained in:
Andrey Konovalov 2019-09-23 19:55:17 +02:00 committed by Dmitry Vyukov
parent 792da3da86
commit c9f1048063

View File

@ -0,0 +1,6 @@
# requires: -sandbox=setuid -sandbox=namespace -repeat
r0 = syz_usb_connect$hid(0x0, 0x36, &(0x7f0000000000)={{0x12, 0x1, 0x0, 0x0, 0x0, 0x0, 0x8, 0x50d, 0x3201, 0x0, 0x0, 0x0, 0x0, 0x1, [{{0x9, 0x2, 0x24, 0x1, 0x0, 0x0, 0x0, 0x0, [{{0x9, 0x4, 0x0, 0x0, 0x9, 0x3, 0x0, 0x0, 0x0, {0x9, 0x21, 0x0, 0x0, 0x1, {0x22, 0x29}}, {{{0x9, 0x5, 0x81, 0x3, 0x0, 0x0, 0x0, 0x0, ""}}, []}}}]}}]}}, 0x0)
syz_usb_control_io$hid(r0, 0x0, 0x0)
syz_usb_control_io$hid(r0, &(0x7f0000000300)={0xffffffffffffffcc, 0x0, 0x0, 0x0, &(0x7f0000000480)={0x0, 0x22, 0x29, {0x0, 0x21, 0x0, 0x0, 0x1, {0x22, 0x0}}}}, &(0x7f0000000180)={0x68, 0x0, 0x0, 0x0, 0x0, 0x0})
syz_open_dev$hiddev(&(0x7f0000000440)='/dev/usb/hiddev#\x00', 0x0, 0x0)