From: Evan Hunt Date: Thu, 19 Jun 2014 16:38:41 +0000 (-0700) Subject: [master] fix seccomp support for i386/nothreads X-Git-Tag: v9.11.0a1~1513 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=064785ce84a0d7a77b72ac7afaa5dcac223c7b71;p=thirdparty%2Fbind9.git [master] fix seccomp support for i386/nothreads --- diff --git a/bin/named/include/named/seccomp.h b/bin/named/include/named/seccomp.h index 90c33e89285..ebc947113df 100644 --- a/bin/named/include/named/seccomp.h +++ b/bin/named/include/named/seccomp.h @@ -189,8 +189,11 @@ int scmp_syscalls[] = { SCMP_SYS(rt_sigsuspend), SCMP_SYS(fstat64), SCMP_SYS(epoll_ctl), - SCMP_SYS(gettimeofday) - SCMP_SYS(unlink) + SCMP_SYS(gettimeofday), + SCMP_SYS(unlink), +#ifndef ISC_PLATFORM_USETHREADS + SCMP_SYS(fcntl64), +#endif }; const char *scmp_syscall_names[] = { "access", @@ -222,8 +225,11 @@ const char *scmp_syscall_names[] = { "rt_sigsuspend", "fstat64", "epoll_ctl", - "gettimeofday" - "unlink" + "gettimeofday", + "unlink", +#ifndef ISC_PLATFORM_USETHREADS + "fcntl64", +#endif }; #endif /* __i386__ */ #endif /* HAVE_LIBSECCOMP */