From e06d2ea701a5532381cde7609c521649f0f01018 Mon Sep 17 00:00:00 2001 From: R3x Date: Sat, 6 Jul 2019 14:01:06 +0000 Subject: sys/netbsd: Added posix_spawn and fork syscalls --- executor/common_bsd | Bin 0 -> 720332 bytes executor/defs.h | 2 +- executor/syscalls.h | 3 +++ 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 executor/common_bsd (limited to 'executor') diff --git a/executor/common_bsd b/executor/common_bsd new file mode 100644 index 000000000..e05be7292 Binary files /dev/null and b/executor/common_bsd differ diff --git a/executor/defs.h b/executor/defs.h index a7ca1b7c0..332a8a477 100644 --- a/executor/defs.h +++ b/executor/defs.h @@ -125,7 +125,7 @@ #if GOARCH_amd64 #define GOARCH "amd64" -#define SYZ_REVISION "b6416c3989d53e293342b0c671fdfa10fb72463f" +#define SYZ_REVISION "49e283b548f639c19dd9a36c2985100da8d35119" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 diff --git a/executor/syscalls.h b/executor/syscalls.h index 05580e4e1..a4245cc13 100644 --- a/executor/syscalls.h +++ b/executor/syscalls.h @@ -17120,6 +17120,7 @@ const call_t syscalls[] = { {"fcntl$setstatus", 92}, {"fdatasync", 241}, {"flock", 131}, + {"fork", 2}, {"fsync", 95}, {"ftruncate", 201}, {"getdents", 390}, @@ -17185,6 +17186,7 @@ const call_t syscalls[] = { {"pipe", 42}, {"pipe2", 453}, {"poll", 209}, + {"posix_spawn", 474}, {"pread", 173}, {"preadv", 289}, {"ptrace", 26}, @@ -17270,6 +17272,7 @@ const call_t syscalls[] = { {"unlinkat", 471}, {"utimensat", 467}, {"utimes", 420}, + {"vfork", 66}, {"wait4", 449}, {"write", 4}, {"writev", 121}, -- cgit mrf-deployment