From 16c44697b51f97b1dc98f34cad47ca041b628a81 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Fri, 10 May 2019 15:21:16 +0200 Subject: sys/linux: add definitions of fsopen, fspick, fsconfig, fsmount, move_mount syscalls --- executor/defs.h | 10 +++++----- executor/syscalls.h | 24 ++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 5 deletions(-) (limited to 'executor') diff --git a/executor/defs.h b/executor/defs.h index 21742c671..7f064b017 100644 --- a/executor/defs.h +++ b/executor/defs.h @@ -60,7 +60,7 @@ #if GOARCH_386 #define GOARCH "386" -#define SYZ_REVISION "19906cc36b653ddd8259185c6cd75a42d976a61e" +#define SYZ_REVISION "2a310072609dd2e6ae7b07282877fd2cf31ef04b" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 @@ -70,7 +70,7 @@ #if GOARCH_amd64 #define GOARCH "amd64" -#define SYZ_REVISION "420d4b61bcb10aace96dac3ca84c585fba1635c6" +#define SYZ_REVISION "635705c13150622d9e68e6d8b434fb56ed52289c" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 @@ -80,7 +80,7 @@ #if GOARCH_arm #define GOARCH "arm" -#define SYZ_REVISION "f28cd486e09e5843226082d7d3f8e361ca56a8be" +#define SYZ_REVISION "a6919059eb94d6f50a1aecf5881e762d1e6d212f" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 @@ -90,7 +90,7 @@ #if GOARCH_arm64 #define GOARCH "arm64" -#define SYZ_REVISION "8fb259ddb09ac4807a320b7cbeee530aaa68f59d" +#define SYZ_REVISION "f2c20c26aaf4c83bed7b550a26dcc203defc6d67" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 @@ -100,7 +100,7 @@ #if GOARCH_ppc64le #define GOARCH "ppc64le" -#define SYZ_REVISION "44969c131ff2baab2dfc2fcc524a9f5d5fce898f" +#define SYZ_REVISION "0b321c9de8c65a001f28b71c84c8780f9d4713a9" #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 ba3c114bf..d4ee2aa78 100644 --- a/executor/syscalls.h +++ b/executor/syscalls.h @@ -1758,6 +1758,14 @@ const call_t syscalls[] = { {"flistxattr", 234}, {"flock", 143}, {"fremovexattr", 237}, + {"fsconfig$FSCONFIG_CMD_CREATE", 390}, + {"fsconfig$FSCONFIG_CMD_RECONFIGURE", 390}, + {"fsconfig$FSCONFIG_SET_BINARY", 390}, + {"fsconfig$FSCONFIG_SET_FD", 390}, + {"fsconfig$FSCONFIG_SET_FLAG", 390}, + {"fsconfig$FSCONFIG_SET_PATH", 390}, + {"fsconfig$FSCONFIG_SET_PATH_EMPTY", 390}, + {"fsconfig$FSCONFIG_SET_STRING", 390}, {"fsetxattr", 228}, {"fsetxattr$security_capability", 228}, {"fsetxattr$security_evm", 228}, @@ -1771,6 +1779,9 @@ const call_t syscalls[] = { {"fsetxattr$trusted_overlay_origin", 228}, {"fsetxattr$trusted_overlay_redirect", 228}, {"fsetxattr$trusted_overlay_upper", 228}, + {"fsmount", 391}, + {"fsopen", 389}, + {"fspick", 392}, {"fstat", 108}, {"fstatfs", 100}, {"fsync", 118}, @@ -3141,6 +3152,7 @@ const call_t syscalls[] = { {"mount$fuse", 21}, {"mount$fuseblk", 21}, {"mount$overlay", 21}, + {"move_mount", 388}, {"move_pages", 317}, {"mprotect", 125}, {"mq_getsetattr", 282}, @@ -4439,6 +4451,14 @@ const call_t syscalls[] = { {"flistxattr", 196}, {"flock", 73}, {"fremovexattr", 199}, + {"fsconfig$FSCONFIG_CMD_CREATE", 338}, + {"fsconfig$FSCONFIG_CMD_RECONFIGURE", 338}, + {"fsconfig$FSCONFIG_SET_BINARY", 338}, + {"fsconfig$FSCONFIG_SET_FD", 338}, + {"fsconfig$FSCONFIG_SET_FLAG", 338}, + {"fsconfig$FSCONFIG_SET_PATH", 338}, + {"fsconfig$FSCONFIG_SET_PATH_EMPTY", 338}, + {"fsconfig$FSCONFIG_SET_STRING", 338}, {"fsetxattr", 190}, {"fsetxattr$security_capability", 190}, {"fsetxattr$security_evm", 190}, @@ -4452,6 +4472,9 @@ const call_t syscalls[] = { {"fsetxattr$trusted_overlay_origin", 190}, {"fsetxattr$trusted_overlay_redirect", 190}, {"fsetxattr$trusted_overlay_upper", 190}, + {"fsmount", 339}, + {"fsopen", 337}, + {"fspick", 340}, {"fstat", 5}, {"fstatfs", 138}, {"fsync", 74}, @@ -5826,6 +5849,7 @@ const call_t syscalls[] = { {"mount$fuse", 165}, {"mount$fuseblk", 165}, {"mount$overlay", 165}, + {"move_mount", 336}, {"move_pages", 279}, {"mprotect", 10}, {"mq_getsetattr", 245}, -- cgit mrf-deployment