From 85b1f93f8dbbc767c564e494a6353aa3517d5d49 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Mon, 16 Oct 2017 12:18:50 +0200 Subject: executor, pkg/ipc: unify ipc protocol between linux and other OSes 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/common_windows.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'executor/common_windows.h') diff --git a/executor/common_windows.h b/executor/common_windows.h index dbc6b67c3..077bc874a 100644 --- a/executor/common_windows.h +++ b/executor/common_windows.h @@ -6,8 +6,6 @@ #include #define doexit exit -#define NORETURN -#define SYSCALLAPI WINAPI #include "common.h" -- cgit mrf-deployment