aboutsummaryrefslogtreecommitdiffstats
path: root/executor
diff options
context:
space:
mode:
authorMark Johnston <markjdb@gmail.com>2020-03-26 12:44:32 -0400
committerDmitry Vyukov <dvyukov@google.com>2020-03-27 05:51:58 +0100
commit7a683c4c28336d4babb30c16a79c9ddc35fa7fa4 (patch)
tree2b2d4f16e02e8f7ea2684df2a689f0a6a7d43e38 /executor
parent892d1075a43d31669bdcb6e86b604485c7b9bd6e (diff)
sys/freebsd: add chflags(2) and related syscalls
Diffstat (limited to 'executor')
-rw-r--r--executor/defs.h4
-rw-r--r--executor/syscalls.h8
2 files changed, 10 insertions, 2 deletions
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},