aboutsummaryrefslogtreecommitdiffstats
path: root/executor/common_usb.h
diff options
context:
space:
mode:
authorAndrey Konovalov <andreyknvl@google.com>2019-04-18 15:26:54 +0200
committerDmitry Vyukov <dvyukov@google.com>2019-04-23 23:37:02 +0300
commit4d3d6a50073a000e77372557752808f58154d68e (patch)
treec00515da6422003262fe74de777163f6a76d66c7 /executor/common_usb.h
parentdeda7c38f91177644d5e9ef2934cc5fcbe640257 (diff)
executor: adjust waiting time for all usb syzcalls
Allow 2000 ms of waiting time for syz_usb_connect and and the same time for the whole program is this syzkall is present. Allow 200 ms of waiting time for syz_usb_disconnect. Remove sleep from syz_usb_control_io.
Diffstat (limited to 'executor/common_usb.h')
-rw-r--r--executor/common_usb.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/executor/common_usb.h b/executor/common_usb.h
index a491a2297..5b5fa87ac 100644
--- a/executor/common_usb.h
+++ b/executor/common_usb.h
@@ -411,8 +411,6 @@ reply:
debug("syz_usb_control_io: reply length = %d\n", response.inner.length);
usb_fuzzer_ep0_write(fd, (struct usb_fuzzer_ep_io*)&response);
- sleep_ms(200);
-
return 0;
}
#endif