aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/dev_char_usb.txt
blob: f75196b7eca2cef4c117963138372d182d179c2f (plain)
1
2
3
4
5
6
7
8
9
10
11
# Copyright 2019 syzkaller project authors. All rights reserved.
# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.

include <include/linux/usb.h>

resource fd_char_usb[fd]

syz_open_dev$char_usb(dev const[0xc], major const[USB_MAJOR], minor intptr) fd_char_usb

read$char_usb(fd fd_char_usb, buf buffer[out], count len[buf])
write$char_usb(fd fd_char_usb, buf buffer[in], count len[buf])