aboutsummaryrefslogtreecommitdiffstats
path: root/executor/executor.h
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2017-10-18 12:00:16 +0200
committerDmitry Vyukov <dvyukov@google.com>2017-10-18 12:01:24 +0200
commitf89294761cb8f89e11aecb58ee27629fcfeafbc3 (patch)
treef27f681077bdb126aea433d866bce03b72f86cd5 /executor/executor.h
parent6368c469a5868b3e1d40ba95a44561f895698bcc (diff)
executor: use forkserver for freebsd
Use forkserver and shmem for freebsd. This greatly improves speed. Also introduce fallback coverage signal based on unique (syscall+errno) pairs.
Diffstat (limited to 'executor/executor.h')
-rw-r--r--executor/executor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/executor/executor.h b/executor/executor.h
index 1933c6cef..f3f0eb53a 100644
--- a/executor/executor.h
+++ b/executor/executor.h
@@ -616,6 +616,7 @@ void execute_call(thread_t* th)
}
cover_reset(th);
+ errno = 0;
th->res = execute_syscall(call, th->args[0], th->args[1], th->args[2],
th->args[3], th->args[4], th->args[5],
th->args[6], th->args[7], th->args[8]);