From 0c986ae9b8120ed2638f9b10c647541c4d43fff2 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sat, 12 Aug 2017 16:12:12 +0200 Subject: sys: describe chroot/getcwd/chdir/fchdir Update #211 --- executor/syscalls.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'executor') 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}, -- cgit mrf-deployment