aboutsummaryrefslogtreecommitdiffstats
path: root/executor/syscalls.h
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2017-08-12 16:12:12 +0200
committerDmitry Vyukov <dvyukov@google.com>2017-08-12 17:45:00 +0200
commit0c986ae9b8120ed2638f9b10c647541c4d43fff2 (patch)
tree10a25c5ec2d98e0ab581f955e244478cd7b53aae /executor/syscalls.h
parenta0330c0f5e79f9254c5e2d0ce56c96c03f572676 (diff)
sys: describe chroot/getcwd/chdir/fchdir
Update #211
Diffstat (limited to 'executor/syscalls.h')
-rw-r--r--executor/syscalls.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/executor/syscalls.h b/executor/syscalls.h
index aaee4cf35..7b4f2a6e6 100644
--- a/executor/syscalls.h
+++ b/executor/syscalls.h
@@ -66,8 +66,10 @@ static call_t syscalls[] = {
{"bpf$PROG_LOAD", 321},
{"capget", 125},
{"capset", 126},
+ {"chdir", 80},
{"chmod", 90},
{"chown", 92},
+ {"chroot", 161},
{"clock_adjtime", 305},
{"clock_getres", 229},
{"clock_gettime", 228},
@@ -109,6 +111,7 @@ static call_t syscalls[] = {
{"fallocate", 285},
{"fanotify_init", 300},
{"fanotify_mark", 301},
+ {"fchdir", 81},
{"fchmod", 91},
{"fchmodat", 268},
{"fchown", 93},
@@ -144,6 +147,7 @@ static call_t syscalls[] = {
{"get_mempolicy", 239},
{"get_robust_list", 274},
{"get_thread_area", 211},
+ {"getcwd", 79},
{"getdents", 78},
{"getdents64", 217},
{"getegid", 108},
@@ -1580,8 +1584,10 @@ static call_t syscalls[] = {
{"bpf$PROG_LOAD", 280},
{"capget", 90},
{"capset", 91},
+ {"chdir", 49},
{"chmod", -1},
{"chown", -1},
+ {"chroot", 51},
{"clock_adjtime", 266},
{"clock_getres", 114},
{"clock_gettime", 113},
@@ -1623,6 +1629,7 @@ static call_t syscalls[] = {
{"fallocate", 47},
{"fanotify_init", 262},
{"fanotify_mark", 263},
+ {"fchdir", 50},
{"fchmod", 52},
{"fchmodat", 53},
{"fchown", 55},
@@ -1658,6 +1665,7 @@ static call_t syscalls[] = {
{"get_mempolicy", 236},
{"get_robust_list", 100},
{"get_thread_area", -1},
+ {"getcwd", 17},
{"getdents", -1},
{"getdents64", 61},
{"getegid", 177},
@@ -3094,8 +3102,10 @@ static call_t syscalls[] = {
{"bpf$PROG_LOAD", 361},
{"capget", 183},
{"capset", 184},
+ {"chdir", 12},
{"chmod", 15},
{"chown", 181},
+ {"chroot", 61},
{"clock_adjtime", 347},
{"clock_getres", 247},
{"clock_gettime", 246},
@@ -3137,6 +3147,7 @@ static call_t syscalls[] = {
{"fallocate", 309},
{"fanotify_init", 323},
{"fanotify_mark", 324},
+ {"fchdir", 133},
{"fchmod", 94},
{"fchmodat", 297},
{"fchown", 95},
@@ -3172,6 +3183,7 @@ static call_t syscalls[] = {
{"get_mempolicy", 260},
{"get_robust_list", 299},
{"get_thread_area", -1},
+ {"getcwd", 182},
{"getdents", 141},
{"getdents64", 202},
{"getegid", 50},