aboutsummaryrefslogtreecommitdiffstats
path: root/executor/executor.cc
diff options
context:
space:
mode:
authorAndrey Konovalov <andreyknvl@google.com>2019-09-23 19:53:19 +0200
committerDmitry Vyukov <dvyukov@google.com>2019-09-24 10:45:51 +0200
commit792da3da86809da819e7b09526e1250fbfdff07d (patch)
tree536fde22e91a6ac2168c6de9b68b9577775ff247 /executor/executor.cc
parent5ff4e14cb180c466760b0d57241479a300d0d8e5 (diff)
executor, csource: adjust syz_open_dev$hiddev timeout
Looks like opening hiddev can take up to ~100 ms.
Diffstat (limited to 'executor/executor.cc')
-rw-r--r--executor/executor.cc2
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)