sys_linux: allow openat in seccomp filter

This commit is contained in:
Miroslav Lichvar 2016-12-05 10:14:15 +01:00
parent 492940568d
commit 9ba8a33966

View file

@ -483,7 +483,7 @@ SYS_Linux_EnableSystemCallFilter(int level)
/* TODO: check socketcall arguments */
SCMP_SYS(socketcall),
/* General I/O */
SCMP_SYS(_newselect), SCMP_SYS(close), SCMP_SYS(open), SCMP_SYS(pipe),
SCMP_SYS(_newselect), SCMP_SYS(close), SCMP_SYS(open), SCMP_SYS(openat), SCMP_SYS(pipe),
SCMP_SYS(poll), SCMP_SYS(read), SCMP_SYS(futex), SCMP_SYS(select),
SCMP_SYS(set_robust_list), SCMP_SYS(write),
/* Miscellaneous */