From f3d9d5948cad441ab08e763c8ed86efe79f4198b Mon Sep 17 00:00:00 2001 From: Greg Steuck Date: Tue, 11 Dec 2018 14:30:49 -0800 Subject: pkg/csource: support tun and setuid repros on {free,open}bsd * expose procid on BSD for tun, always declare loop() * deal with terrible bsd includes * replicate loop() declaration --- executor/common.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'executor/common.h') diff --git a/executor/common.h b/executor/common.h index 7e855b91c..6823c6ba4 100644 --- a/executor/common.h +++ b/executor/common.h @@ -40,7 +40,8 @@ NORETURN void doexit(int status) #endif #if SYZ_EXECUTOR || SYZ_PROCS || SYZ_REPEAT && SYZ_ENABLE_CGROUPS || \ - __NR_syz_mount_image || __NR_syz_read_part_table + __NR_syz_mount_image || __NR_syz_read_part_table || \ + (GOOS_openbsd || GOOS_freebsd) && SYZ_TUN_ENABLE unsigned long long procid; #endif -- cgit mrf-deployment