2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-01 15:05:23 +00:00

[master] fix seccomp support for i386/nothreads

This commit is contained in:
Evan Hunt
2014-06-19 09:38:41 -07:00
parent cac2181160
commit 064785ce84

View File

@@ -189,8 +189,11 @@ int scmp_syscalls[] = {
SCMP_SYS(rt_sigsuspend), SCMP_SYS(rt_sigsuspend),
SCMP_SYS(fstat64), SCMP_SYS(fstat64),
SCMP_SYS(epoll_ctl), SCMP_SYS(epoll_ctl),
SCMP_SYS(gettimeofday) SCMP_SYS(gettimeofday),
SCMP_SYS(unlink) SCMP_SYS(unlink),
#ifndef ISC_PLATFORM_USETHREADS
SCMP_SYS(fcntl64),
#endif
}; };
const char *scmp_syscall_names[] = { const char *scmp_syscall_names[] = {
"access", "access",
@@ -222,8 +225,11 @@ const char *scmp_syscall_names[] = {
"rt_sigsuspend", "rt_sigsuspend",
"fstat64", "fstat64",
"epoll_ctl", "epoll_ctl",
"gettimeofday" "gettimeofday",
"unlink" "unlink",
#ifndef ISC_PLATFORM_USETHREADS
"fcntl64",
#endif
}; };
#endif /* __i386__ */ #endif /* __i386__ */
#endif /* HAVE_LIBSECCOMP */ #endif /* HAVE_LIBSECCOMP */