diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2021-12-23 16:06:14 +0000 |
|---|---|---|
| committer | Aleksandr Nogikh <wp32pw@gmail.com> | 2022-01-14 16:38:43 +0100 |
| commit | 0ba5442094edaa61f8969a358369123ecab89233 (patch) | |
| tree | ae91e12f4fcf9ebb200fa2942d055b5633afffa8 /executor | |
| parent | 51cf8ae5132876ddfdbf602fd481f5b0657f7f32 (diff) | |
all: create 8 tun devices for OpenBSD
Currently only 4 are created by default. This limits the maximum number
of simultaneously running syz-executors.
Diffstat (limited to 'executor')
| -rw-r--r-- | executor/common_bsd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/executor/common_bsd.h b/executor/common_bsd.h index 7c6ad8efd..2bfce1826 100644 --- a/executor/common_bsd.h +++ b/executor/common_bsd.h @@ -130,12 +130,12 @@ static int tunfd = -1; #if GOOS_netbsd // Increased number of tap and tun devices if image script is used #define MAX_TUN 64 - #elif GOOS_freebsd // The maximum number of tun devices is limited by the way IP addresses // are assigned. Based on this, the limit is 256. #define MAX_TUN 256 - +#elif GOOS_openbsd +#define MAX_TUN 8 #else // Maximum number of tun devices in the default install. #define MAX_TUN 4 |
