Whitelist clock_gettime() for seccomp. Not necessary so long as vdso
is enabled, but otherwise...
This commit is contained in:
parent
b53b8585d5
commit
7d5b6ddc7e
@ -134,6 +134,7 @@ static int enforce_seccomp(void)
|
|||||||
ALLOW_SYSCALL(sendto), // used for glibc syslog routines
|
ALLOW_SYSCALL(sendto), // used for glibc syslog routines
|
||||||
ALLOW_SYSCALL(epoll_wait),
|
ALLOW_SYSCALL(epoll_wait),
|
||||||
ALLOW_SYSCALL(epoll_ctl),
|
ALLOW_SYSCALL(epoll_ctl),
|
||||||
|
ALLOW_SYSCALL(clock_gettime),
|
||||||
ALLOW_SYSCALL(close),
|
ALLOW_SYSCALL(close),
|
||||||
ALLOW_SYSCALL(socket),
|
ALLOW_SYSCALL(socket),
|
||||||
ALLOW_SYSCALL(getsockopt),
|
ALLOW_SYSCALL(getsockopt),
|
||||||
|
Loading…
Reference in New Issue
Block a user