aboutsummaryrefslogtreecommitdiffstats
path: root/executor
diff options
context:
space:
mode:
authorMark Johnston <markjdb@gmail.com>2020-03-26 18:18:36 -0400
committerDmitry Vyukov <dvyukov@google.com>2020-03-27 05:51:58 +0100
commit7d95711b320580ddb0c564fb66ed8185337de272 (patch)
treef00e8190f26632ea7a5ea3720bc6e76317d87d18 /executor
parentbe07a9be5eba71b93c2089f5cf133a235b18fa21 (diff)
sys/freebsd: add Capsicum system calls
Diffstat (limited to 'executor')
-rw-r--r--executor/defs.h4
-rw-r--r--executor/syscalls.h16
2 files changed, 18 insertions, 2 deletions
diff --git a/executor/defs.h b/executor/defs.h
index 7862b7678..cfee07f17 100644
--- a/executor/defs.h
+++ b/executor/defs.h
@@ -20,7 +20,7 @@
#if GOARCH_386
#define GOARCH "386"
-#define SYZ_REVISION "27b0c289c0d78fe767ad2fbe062383e89cef0180"
+#define SYZ_REVISION "d737bca3a95d7c1527152553af5fd06ed07e0240"
#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 "5d7c29fe9b21a5007b1d3b4f13d51931ecd5d703"
+#define SYZ_REVISION "cebd33c9fa63b4a043bcc0de4180bc2646bb8ac8"
#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 667816ae2..a8fdbe0f8 100644
--- a/executor/syscalls.h
+++ b/executor/syscalls.h
@@ -226,6 +226,7 @@ const call_t syscalls[] = {
#if GOARCH_386
const call_t syscalls[] = {
+ {"__cap_rights_get", 515},
{"__getcwd", 326},
{"__realpathat", 574},
{"__semctl$GETALL", 510},
@@ -255,6 +256,13 @@ const call_t syscalls[] = {
{"bind$unix", 104},
{"bindat", 538},
{"bindat$unix", 538},
+ {"cap_enter", 516},
+ {"cap_fcntls_get", 537},
+ {"cap_fcntls_limit", 536},
+ {"cap_getmode", 517},
+ {"cap_ioctls_get", 535},
+ {"cap_ioctls_limit", 534},
+ {"cap_rights_limit", 533},
{"chdir", 12},
{"chflags", 34},
{"chflagsat", 540},
@@ -747,6 +755,7 @@ const call_t syscalls[] = {
#if GOARCH_amd64
const call_t syscalls[] = {
+ {"__cap_rights_get", 515},
{"__getcwd", 326},
{"__realpathat", 574},
{"__semctl$GETALL", 510},
@@ -776,6 +785,13 @@ const call_t syscalls[] = {
{"bind$unix", 104},
{"bindat", 538},
{"bindat$unix", 538},
+ {"cap_enter", 516},
+ {"cap_fcntls_get", 537},
+ {"cap_fcntls_limit", 536},
+ {"cap_getmode", 517},
+ {"cap_ioctls_get", 535},
+ {"cap_ioctls_limit", 534},
+ {"cap_rights_limit", 533},
{"chdir", 12},
{"chflags", 34},
{"chflagsat", 540},