aboutsummaryrefslogtreecommitdiffstats
path: root/executor/syscalls.h
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/syscalls.h
parentbe07a9be5eba71b93c2089f5cf133a235b18fa21 (diff)
sys/freebsd: add Capsicum system calls
Diffstat (limited to 'executor/syscalls.h')
-rw-r--r--executor/syscalls.h16
1 files changed, 16 insertions, 0 deletions
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},