From 7a683c4c28336d4babb30c16a79c9ddc35fa7fa4 Mon Sep 17 00:00:00 2001 From: Mark Johnston Date: Thu, 26 Mar 2020 12:44:32 -0400 Subject: sys/freebsd: add chflags(2) and related syscalls --- executor/defs.h | 4 ++-- executor/syscalls.h | 8 ++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 'executor') diff --git a/executor/defs.h b/executor/defs.h index bbe4abc5e..a50c7b441 100644 --- a/executor/defs.h +++ b/executor/defs.h @@ -20,7 +20,7 @@ #if GOARCH_386 #define GOARCH "386" -#define SYZ_REVISION "8074f23eefed54c8bdf9e8cad786491a5305d9d5" +#define SYZ_REVISION "bec2bb68e24b8b7d30e01c15d3c17e3f3c8bd820" #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 "99988fd78c6400ce0ba24ed2e97bb131b5f223e9" +#define SYZ_REVISION "cf77f77cf0e11abd3b2b8401db8fb233d0225f0a" #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 d4e0cf880..aa3f54183 100644 --- a/executor/syscalls.h +++ b/executor/syscalls.h @@ -253,6 +253,8 @@ const call_t syscalls[] = { {"bind$inet6", 104}, {"bind$unix", 104}, {"chdir", 12}, + {"chflags", 34}, + {"chflagsat", 540}, {"chmod", 15}, {"chown", 16}, {"chroot", 61}, @@ -272,6 +274,7 @@ const call_t syscalls[] = { {"exit", 1}, {"faccessat", 489}, {"fchdir", 13}, + {"fchflags", 35}, {"fchmod", 124}, {"fchmodat", 490}, {"fchown", 123}, @@ -482,6 +485,7 @@ const call_t syscalls[] = { {"ioctl$DIOCXBEGIN", 54}, {"ioctl$DIOCXCOMMIT", 54}, {"ioctl$DIOCXROLLBACK", 54}, + {"lchflags", 391}, {"lchmod", 274}, {"lchown", 254}, {"link", 9}, @@ -759,6 +763,8 @@ const call_t syscalls[] = { {"bind$inet6", 104}, {"bind$unix", 104}, {"chdir", 12}, + {"chflags", 34}, + {"chflagsat", 540}, {"chmod", 15}, {"chown", 16}, {"chroot", 61}, @@ -778,6 +784,7 @@ const call_t syscalls[] = { {"exit", 1}, {"faccessat", 489}, {"fchdir", 13}, + {"fchflags", 35}, {"fchmod", 124}, {"fchmodat", 490}, {"fchown", 123}, @@ -988,6 +995,7 @@ const call_t syscalls[] = { {"ioctl$DIOCXBEGIN", 54}, {"ioctl$DIOCXCOMMIT", 54}, {"ioctl$DIOCXROLLBACK", 54}, + {"lchflags", 391}, {"lchmod", 274}, {"lchown", 254}, {"link", 9}, -- cgit mrf-deployment