From d545e945ce3761556e10fd6b4c20a952c0e821a1 Mon Sep 17 00:00:00 2001 From: Andrey Konovalov Date: Wed, 7 Aug 2019 18:03:59 +0200 Subject: sys/linux: add syz_open_dev$char_usb descriptions syz_open_dev$char_usb opens char devices with major = USB_MAJOR. Sanitize its values to make sure it doesn't open other char/block devices. --- sys/linux/dev_char_usb_arm.const | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 sys/linux/dev_char_usb_arm.const (limited to 'sys/linux/dev_char_usb_arm.const') diff --git a/sys/linux/dev_char_usb_arm.const b/sys/linux/dev_char_usb_arm.const new file mode 100644 index 000000000..cdb26013d --- /dev/null +++ b/sys/linux/dev_char_usb_arm.const @@ -0,0 +1,4 @@ +# AUTOGENERATED FILE +USB_MAJOR = 180 +__NR_read = 3 +__NR_write = 4 -- cgit mrf-deployment