diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2023-05-03 17:20:07 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <wp32pw@gmail.com> | 2023-05-04 12:34:39 +0200 |
| commit | 3a5604637f3a205052b07863f7157900a8bd936e (patch) | |
| tree | 2842e0ad3fe99a7f4ad03c9ba13d5c720d2fbaba /executor/common.h | |
| parent | 8e1412d59319a19d61ea48985b13ef550e3ab9ec (diff) | |
executor: resolve pseudo syscall compilation problems
Diffstat (limited to 'executor/common.h')
| -rw-r--r-- | executor/common.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/executor/common.h b/executor/common.h index 26d964b65..efdb4496f 100644 --- a/executor/common.h +++ b/executor/common.h @@ -66,9 +66,9 @@ NORETURN void doexit_thread(int status) #endif #endif -#if SYZ_EXECUTOR || SYZ_MULTI_PROC || SYZ_REPEAT && SYZ_CGROUPS || \ - SYZ_NET_DEVICES || __NR_syz_mount_image || __NR_syz_read_part_table || \ - __NR_syz_usb_connect || __NR_syz_usb_connect_ath9k || \ +#if SYZ_EXECUTOR || SYZ_MULTI_PROC || SYZ_REPEAT && SYZ_CGROUPS || \ + SYZ_NET_DEVICES || __NR_syz_mount_image || __NR_syz_read_part_table || \ + __NR_syz_usb_connect || __NR_syz_usb_connect_ath9k || __NR_syz_usbip_server_init || \ (GOOS_freebsd || GOOS_darwin || GOOS_openbsd || GOOS_netbsd) && SYZ_NET_INJECTION static unsigned long long procid; #endif @@ -192,7 +192,9 @@ 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_sleep_ms + __NR_syz_usb_connect || __NR_syz_usb_connect_ath9k || __NR_syz_sleep_ms || \ + __NR_syz_usb_control_io || __NR_syz_usb_ep_read || __NR_syz_usb_ep_write || \ + __NR_syz_usb_disconnect static void sleep_ms(uint64 ms) { usleep(ms * 1000); |
