diff options
| -rw-r--r-- | executor/common_bsd.h | 2 | ||||
| -rw-r--r-- | pkg/csource/generated.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/executor/common_bsd.h b/executor/common_bsd.h index b26dabaa3..a7fc5c8f5 100644 --- a/executor/common_bsd.h +++ b/executor/common_bsd.h @@ -261,7 +261,7 @@ static long syz_extract_tcp_res(long a0, long a1, long a2) static void loop(); static int do_sandbox_none(void) { -#if SYZ_TUN_ENABLE +#if GOOS_openbsd && (SYZ_EXECUTOR || SYZ_TUN_ENABLE) initialize_tun(procid); #endif loop(); diff --git a/pkg/csource/generated.go b/pkg/csource/generated.go index 931b0f2f4..5faa7735b 100644 --- a/pkg/csource/generated.go +++ b/pkg/csource/generated.go @@ -638,7 +638,7 @@ static long syz_extract_tcp_res(long a0, long a1, long a2) static void loop(); static int do_sandbox_none(void) { -#if SYZ_TUN_ENABLE +#if GOOS_openbsd && (SYZ_EXECUTOR || SYZ_TUN_ENABLE) initialize_tun(procid); #endif loop(); |
