From 7d5b6ddc7e13c5e67598ebe2fa0c43310163567c Mon Sep 17 00:00:00 2001 From: "Nicholas J. Kain" Date: Sat, 21 Jul 2012 19:46:50 -0400 Subject: [PATCH] Whitelist clock_gettime() for seccomp. Not necessary so long as vdso is enabled, but otherwise... --- ifchd/ifchd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ifchd/ifchd.c b/ifchd/ifchd.c index dde1f09..36d03d7 100644 --- a/ifchd/ifchd.c +++ b/ifchd/ifchd.c @@ -134,6 +134,7 @@ static int enforce_seccomp(void) ALLOW_SYSCALL(sendto), // used for glibc syslog routines ALLOW_SYSCALL(epoll_wait), ALLOW_SYSCALL(epoll_ctl), + ALLOW_SYSCALL(clock_gettime), ALLOW_SYSCALL(close), ALLOW_SYSCALL(socket), ALLOW_SYSCALL(getsockopt),