]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[master] seccomp also needs dup() in the --disable-threads case
authorEvan Hunt <each@isc.org>
Mon, 16 Jun 2014 20:52:17 +0000 (13:52 -0700)
committerEvan Hunt <each@isc.org>
Mon, 16 Jun 2014 20:52:17 +0000 (13:52 -0700)
bin/named/include/named/seccomp.h

index 2b3c0a8ca3c93f808055f79127e56780db717d40..90c33e892853051edb639e9d8b17a6fc3e91f497 100644 (file)
@@ -91,6 +91,7 @@ int scmp_syscalls[] = {
        SCMP_SYS(getdents),
        SCMP_SYS(rename),
        SCMP_SYS(utimes),
+       SCMP_SYS(dup),
 #endif
 };
 const char *scmp_syscall_names[] = {
@@ -153,6 +154,7 @@ const char *scmp_syscall_names[] = {
        "getdents",
        "rename",
        "utimes",
+       "dup",
 #endif
 };
 #endif /* __x86_64__ */