diff options
author | lns <matzeton@googlemail.com> | 2018-05-21 23:44:40 +0200 |
---|---|---|
committer | lns <matzeton@googlemail.com> | 2018-05-21 23:44:40 +0200 |
commit | 72167a82f780f2ae11b70f89726df4e7705bd9f3 (patch) | |
tree | 9721bd6b5250554ec3f35b3e9cf53d3eaad5d769 /src/pseccomp.c | |
parent | df51d291e00dee15b220973f1d9a0b2add482a81 (diff) |
POTD skeleton #74.
Signed-off-by: lns <matzeton@googlemail.com>
Diffstat (limited to 'src/pseccomp.c')
-rw-r--r-- | src/pseccomp.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/pseccomp.c b/src/pseccomp.c index e991d46..ae7c718 100644 --- a/src/pseccomp.c +++ b/src/pseccomp.c @@ -18,6 +18,7 @@ static const int default_allowed_syscalls[] = { SCMP_SYS(signalfd), SCMP_SYS(signalfd4), SCMP_SYS(rt_sigreturn), SCMP_SYS(rt_sigprocmask), SCMP_SYS(rt_sigaction), SCMP_SYS(time), SCMP_SYS(nanosleep), + SCMP_SYS(clock_gettime), SCMP_SYS(set_tid_address), SCMP_SYS(exit), SCMP_SYS(exit_group), SCMP_SYS(read), SCMP_SYS(write), SCMP_SYS(fcntl), SCMP_SYS(writev), SCMP_SYS(close), SCMP_SYS(wait4), @@ -29,10 +30,12 @@ static const int default_allowed_syscalls[] = { SCMP_SYS(epoll_create1), SCMP_SYS(epoll_ctl), SCMP_SYS(epoll_pwait), SCMP_SYS(poll), SCMP_SYS(set_robust_list), SCMP_SYS(getrlimit), - SCMP_SYS(seccomp), + SCMP_SYS(seccomp), SCMP_SYS(getrusage), SCMP_SYS(prctl), SCMP_SYS(mmap), SCMP_SYS(brk), SCMP_SYS(madvise), + SCMP_SYS(mlock), SCMP_SYS(getrandom), SCMP_SYS(mprotect), SCMP_SYS(munmap), SCMP_SYS(futex), - SCMP_SYS(open), SCMP_SYS(unlink), SCMP_SYS(fstat), SCMP_SYS(access), + SCMP_SYS(open), SCMP_SYS(openat), + SCMP_SYS(unlink), SCMP_SYS(fstat), SCMP_SYS(access), SCMP_SYS(lseek), SCMP_SYS(stat), SCMP_SYS(readlink), SCMP_SYS(getcwd), SCMP_SYS(lstat), SCMP_SYS(sysinfo), SCMP_SYS(setuid), SCMP_SYS(setgid), |