diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2021-12-03 13:58:21 +0000 |
|---|---|---|
| committer | Aleksandr Nogikh <wp32pw@gmail.com> | 2021-12-03 18:20:11 +0100 |
| commit | a617004c2317ce7443e2fff7415ddab9ac765afc (patch) | |
| tree | 93e1acdcbf47ebab69eb573cca4e4e93b40f181e /executor/nocover.h | |
| parent | c7c20675f58e3edaa53538928c0963144fd524e5 (diff) | |
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.
Diffstat (limited to 'executor/nocover.h')
| -rw-r--r-- | executor/nocover.h | 2 |
1 files changed, 1 insertions, 1 deletions
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) { } |
