mirror of
https://github.com/reactos/syzkaller.git
synced 2024-11-28 05:40:26 +00:00
executor: unbreak on OpenBSD
Commit b5df78dc
("all: support extra coverage") broke the executor on OpenBSD:
executor/executor.cc:61:11: error: unused variable 'kExtraCoverSize' [-Werror,-Wunused-const-variable]
const int kExtraCoverSize = 256 << 10;
This commit is contained in:
parent
528f444be9
commit
d2bc932090
@ -9,6 +9,7 @@
|
||||
#include <unistd.h>
|
||||
|
||||
#if SYZ_EXECUTOR
|
||||
const int kExtraCoverSize = 256 << 10;
|
||||
struct cover_t;
|
||||
static void cover_reset(cover_t* cov);
|
||||
#endif
|
||||
|
@ -58,7 +58,6 @@ const int kOutPipeFd = kMaxFd - 2; // remapped from stdout
|
||||
const int kCoverFd = kOutPipeFd - kMaxThreads;
|
||||
const int kMaxArgs = 9;
|
||||
const int kCoverSize = 256 << 10;
|
||||
const int kExtraCoverSize = 256 << 10;
|
||||
const int kFailStatus = 67;
|
||||
const int kRetryStatus = 69;
|
||||
const int kErrorStatus = 68;
|
||||
|
@ -975,6 +975,7 @@ static int do_sandbox_none(void)
|
||||
#include <unistd.h>
|
||||
|
||||
#if SYZ_EXECUTOR
|
||||
const int kExtraCoverSize = 256 << 10;
|
||||
struct cover_t;
|
||||
static void cover_reset(cover_t* cov);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user