From 3a5604637f3a205052b07863f7157900a8bd936e Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Wed, 3 May 2023 17:20:07 +0200 Subject: executor: resolve pseudo syscall compilation problems --- executor/common_linux.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'executor/common_linux.h') diff --git a/executor/common_linux.h b/executor/common_linux.h index a2736624a..f9de21c0a 100644 --- a/executor/common_linux.h +++ b/executor/common_linux.h @@ -111,6 +111,7 @@ static bool write_file(const char* file, const char* what, ...) #if SYZ_EXECUTOR || SYZ_NET_DEVICES || SYZ_NET_INJECTION || SYZ_DEVLINK_PCI || SYZ_WIFI || SYZ_802154 || \ __NR_syz_genetlink_get_family_id || __NR_syz_80211_inject_frame || __NR_syz_80211_join_ibss || SYZ_NIC_VF #include +#include #include #include #include @@ -2364,7 +2365,9 @@ static long syz_extract_tcp_res(volatile long a0, volatile long a1, volatile lon #define MAX_FDS 30 #endif -#if SYZ_EXECUTOR || __NR_syz_usb_connect || __NR_syz_usb_connect_ath9k +#if SYZ_EXECUTOR || __NR_syz_usb_connect || __NR_syz_usb_connect_ath9k || \ + __NR_syz_usb_ep_write || __NR_syz_usb_ep_read || __NR_syz_usb_control_io || \ + __NR_syz_usb_disconnect #include #include #include @@ -2889,6 +2892,7 @@ static long syz_genetlink_get_family_id(volatile long name, volatile long sock_a #include #include #include +#include #include #include #include @@ -5314,6 +5318,7 @@ static volatile long syz_fuse_handle_req(volatile long a0, // /dev/fuse fd. #endif #if SYZ_EXECUTOR || __NR_syz_80211_inject_frame +#include #include #include #include -- cgit mrf-deployment