diff options
| author | Andrey Konovalov <andreyknvl@google.com> | 2019-08-07 18:03:59 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-08-08 15:34:27 +0200 |
| commit | d545e945ce3761556e10fd6b4c20a952c0e821a1 (patch) | |
| tree | 9eac971ae8d917de598827c1941d872253d67080 /sys/linux/dev_char_usb_amd64.const | |
| parent | bcc419e9414564fc64cdde076635d6295641f9a4 (diff) | |
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.
Diffstat (limited to 'sys/linux/dev_char_usb_amd64.const')
| -rw-r--r-- | sys/linux/dev_char_usb_amd64.const | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/linux/dev_char_usb_amd64.const b/sys/linux/dev_char_usb_amd64.const new file mode 100644 index 000000000..cc03c76c0 --- /dev/null +++ b/sys/linux/dev_char_usb_amd64.const @@ -0,0 +1,4 @@ +# AUTOGENERATED FILE +USB_MAJOR = 180 +__NR_read = 0 +__NR_write = 1 |
