From a617004c2317ce7443e2fff7415ddab9ac765afc Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Fri, 3 Dec 2021 13:58:21 +0000 Subject: executor: delay kcov mmap until it is needed The previous strategy (delay kcov instance creation) seems not to work very well in carefully sandboxed environments. Let's see if the new approach is more versatile. Open a kcov handle for each thread at syz-executor's initialization, but don't mmap it right away. --- executor/nocover.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'executor/nocover.h') diff --git a/executor/nocover.h b/executor/nocover.h index e60d07fa9..f07f747b6 100644 --- a/executor/nocover.h +++ b/executor/nocover.h @@ -21,7 +21,7 @@ static void cover_protect(cover_t* cov) { } -static void cover_reserve_fd(cover_t* cov) +static void cover_mmap(cover_t* cov) { } -- cgit mrf-deployment