aboutsummaryrefslogtreecommitdiffstats
path: root/executor/common.h
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-09-12 11:05:45 +0200
committerDmitry Vyukov <dvyukov@google.com>2020-09-12 13:03:27 +0200
commit306464056c8af8d00798b5ef9195950bd6502314 (patch)
tree9e52e84e25780c79c56c9bb78b32b4ca4e7b66d2 /executor/common.h
parentcc8045ff1f9b4b54834e6e95bedbeeb18c9a7a00 (diff)
sys/test/test: add a hanging test
Ensure that we can handle hanging syscalls in all modes.
Diffstat (limited to 'executor/common.h')
-rw-r--r--executor/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/executor/common.h b/executor/common.h
index 7fd4b255e..81ddefd01 100644
--- a/executor/common.h
+++ b/executor/common.h
@@ -151,7 +151,7 @@ static void kill_and_wait(int pid, int* status)
#if !GOOS_windows
#if SYZ_EXECUTOR || SYZ_THREADED || SYZ_REPEAT && SYZ_EXECUTOR_USES_FORK_SERVER || \
- __NR_syz_usb_connect || __NR_syz_usb_connect_ath9k
+ __NR_syz_usb_connect || __NR_syz_usb_connect_ath9k || __NR_syz_sleep_ms
static void sleep_ms(uint64 ms)
{
usleep(ms * 1000);