diff options
| author | Andrey Konovalov <andreyknvl@google.com> | 2019-09-23 19:53:19 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-09-24 10:45:51 +0200 |
| commit | 792da3da86809da819e7b09526e1250fbfdff07d (patch) | |
| tree | 536fde22e91a6ac2168c6de9b68b9577775ff247 /executor | |
| parent | 5ff4e14cb180c466760b0d57241479a300d0d8e5 (diff) | |
executor, csource: adjust syz_open_dev$hiddev timeout
Looks like opening hiddev can take up to ~100 ms.
Diffstat (limited to 'executor')
| -rw-r--r-- | executor/executor.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/executor/executor.cc b/executor/executor.cc index 4f745693e..1f51ec279 100644 --- a/executor/executor.cc +++ b/executor/executor.cc @@ -705,6 +705,8 @@ retry: call_extra_timeout = 300; if (strncmp(syscalls[call_num].name, "syz_usb_disconnect", strlen("syz_usb_disconnect")) == 0) call_extra_timeout = 300; + if (strncmp(syscalls[call_num].name, "syz_open_dev$hiddev", strlen("syz_open_dev$hiddev")) == 0) + call_extra_timeout = 50; uint64 copyout_index = read_input(&input_pos); uint64 num_args = read_input(&input_pos); if (num_args > kMaxArgs) |
