From 7c5dc2298f7195275c5d72c62efd16afc737588c Mon Sep 17 00:00:00 2001 From: Mark Johnston Date: Thu, 26 Mar 2020 12:38:13 -0400 Subject: sys/freebsd: add copy_file_range(2) --- executor/defs.h | 4 ++-- executor/syscalls.h | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'executor') diff --git a/executor/defs.h b/executor/defs.h index 4fced5d8d..dbe5891ec 100644 --- a/executor/defs.h +++ b/executor/defs.h @@ -20,7 +20,7 @@ #if GOARCH_386 #define GOARCH "386" -#define SYZ_REVISION "543e680b034e0f8ba667a876dd8e62433e42847e" +#define SYZ_REVISION "4c27def18c07f57e4d983d0230b597b056fabe4b" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 @@ -30,7 +30,7 @@ #if GOARCH_amd64 #define GOARCH "amd64" -#define SYZ_REVISION "4475df7310d3645fe3e88ec5e3759ec0cc90ec24" +#define SYZ_REVISION "16e8d525d1a67c5f707e87016e26cf35faa18cbe" #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 b6306b11c..12d3cf07d 100644 --- a/executor/syscalls.h +++ b/executor/syscalls.h @@ -265,6 +265,7 @@ const call_t syscalls[] = { {"connect$inet", 98}, {"connect$inet6", 98}, {"connect$unix", 98}, + {"copy_file_range", 569}, {"dup", 41}, {"dup2", 90}, {"execve", 59}, @@ -769,6 +770,7 @@ const call_t syscalls[] = { {"connect$inet", 98}, {"connect$inet6", 98}, {"connect$unix", 98}, + {"copy_file_range", 569}, {"dup", 41}, {"dup2", 90}, {"execve", 59}, -- cgit mrf-deployment