aboutsummaryrefslogtreecommitdiffstats
path: root/executor/common_freebsd.h
Commit message (Collapse)AuthorAgeFilesLines
* executor: fix netbsd syscallsDmitry Vyukov2017-10-251-164/+0
| | | | | | executor_netbsd.cc was including syscalls_freebsd.h, which completely messed up syscall numbers and names. Include the right syscalls header.
* executor: fix build breakages due to doexitDmitry Vyukov2017-10-191-1/+11
| | | | | Some standard libraries contain "using ::exit;", which breaks with the current redefinition of exit.
* executor: use forkserver for freebsdDmitry Vyukov2017-10-181-0/+55
| | | | | | | Use forkserver and shmem for freebsd. This greatly improves speed. Also introduce fallback coverage signal based on unique (syscall+errno) pairs.
* executor, pkg/ipc: unify ipc protocol between linux and other OSesDmitry Vyukov2017-10-161-1/+0
| | | | | | | | | | | | | | | | | We currently use more complex and functional protocol on linux, and a simple ad-hoc protocol on other OSes. This leads to code duplication in both ipc and executor. Linux supports coverage, shared memory communication and fork server, which would also be useful for most other OSes. Unify communication protocol and parametrize it by (1) use of shmem or only pipes, (2) use of fork server. This reduces duplication in ipc and executor and will allow to support the useful features for other OSes easily. Finally, this fixes akaros support as it currently uses syz-stress running on host (linux) and executor running on akaros.
* executor: simple freebsd executorDmitry Vyukov2017-10-121-0/+100