diff options
| author | Andrey Konovalov <andreyknvl@google.com> | 2020-03-13 00:32:32 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-03-13 07:44:43 +0100 |
| commit | d89275f2aaa8ae95a2bcb8e8f8b022708d2d6951 (patch) | |
| tree | 9dd63965cdab5e5e3e3d041fa39aba4072d57a50 /pkg/host/syscalls_linux.go | |
| parent | d850e9d08467726cd94b6a9caaf8090c594721ba (diff) | |
executor, sys/linux: add ath9k usb descriptions
Among other things this changes timeout for USB programs from 2 to 3 seconds.
ath9k fuzzing also requires ath9k firmware to be present, so system images
need to be regenerated with the updated script.
Diffstat (limited to 'pkg/host/syscalls_linux.go')
| -rw-r--r-- | pkg/host/syscalls_linux.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/host/syscalls_linux.go b/pkg/host/syscalls_linux.go index 7a8765868..079a4503d 100644 --- a/pkg/host/syscalls_linux.go +++ b/pkg/host/syscalls_linux.go @@ -211,7 +211,8 @@ func isSupportedSyzkall(sandbox string, c *prog.Syscall) (bool, string) { case "syz_emit_ethernet", "syz_extract_tcp_res": reason := checkNetInjection() return reason == "", reason - case "syz_usb_connect", "syz_usb_disconnect", "syz_usb_control_io", "syz_usb_ep_write", "syz_usb_ep_read": + case "syz_usb_connect", "syz_usb_connect_ath9k", "syz_usb_disconnect", + "syz_usb_control_io", "syz_usb_ep_write", "syz_usb_ep_read": reason := checkUSBInjection() return reason == "", reason case "syz_kvm_setup_cpu": |
