aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/test/vusb_printer
diff options
context:
space:
mode:
authorAndrey Konovalov <andreyknvl@google.com>2019-09-24 16:09:17 +0200
committerAndrey Konovalov <andreyknvl@gmail.com>2019-09-24 16:42:10 +0200
commit38634e3316fa12223ea9988c9a65d778572a20a4 (patch)
tree6c053aadc174648a725e4edc4b0fa2d89be928f5 /sys/linux/test/vusb_printer
parent0942eab8c6e9c236bd99c739fda06f2510a5b190 (diff)
sys/linux: add more USB runtests
Diffstat (limited to 'sys/linux/test/vusb_printer')
-rw-r--r--sys/linux/test/vusb_printer5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/linux/test/vusb_printer b/sys/linux/test/vusb_printer
new file mode 100644
index 000000000..342a43405
--- /dev/null
+++ b/sys/linux/test/vusb_printer
@@ -0,0 +1,5 @@
+# requires: -sandbox=setuid -sandbox=namespace -repeat
+
+r0 = syz_usb_connect$printer(0x0, 0x36, &(0x7f0000000000)={{0x12, 0x1, 0x0, 0x0, 0x0, 0x0, 0x20, 0x3f0, 0x6c17, 0x40, 0x0, 0x0, 0x0, 0x1, [{{0x9, 0x2, 0x24, 0x1, 0x0, 0x0, 0x0, 0x0, [{{0x9, 0x4, 0x0, 0x0, 0x12, 0x7, 0x1, 0x3, 0x0, "", {{{0x9, 0x5, 0x1, 0x2, 0x0, 0x0, 0x0, 0x0, ""}}, [{{0x9, 0x5, 0x82, 0x2, 0x0, 0x0, 0x0, 0x0, ""}}]}}}]}}]}}, 0x0)
+syz_usb_control_io$printer(r0, 0x0, 0x0)
+syz_usb_control_io$printer(r0, 0x0, &(0x7f0000000400)={0x34, 0x0, 0x0, 0x0, 0x0, 0x0, &(0x7f00000003c0)={0x20, 0x0, 0x1, 0x0}})