void-packages/srcpkgs/bind/patches/seccomp.patch
2017-02-12 14:24:57 +01:00

38 lines
762 B
Diff

--- bin/named/include/named/seccomp.h.orig
+++ bin/named/include/named/seccomp.h
@@ -57,6 +57,8 @@
SCMP_SYS(rt_sigsuspend),
SCMP_SYS(fstat),
SCMP_SYS(epoll_ctl),
SCMP_SYS(gettimeofday),
+ SCMP_SYS(getpid),
+ SCMP_SYS(getrandom),
SCMP_SYS(unlink),
SCMP_SYS(socket),
@@ -121,6 +123,8 @@
"fstat",
"epoll_ctl",
"gettimeofday",
+ "getpid",
+ "getrandom",
"unlink",
"socket",
"sendto",
@@ -190,6 +194,8 @@
SCMP_SYS(fstat64),
SCMP_SYS(epoll_ctl),
SCMP_SYS(gettimeofday),
+ SCMP_SYS(getpid),
+ SCMP_SYS(getrandom),
SCMP_SYS(unlink),
#ifndef ISC_PLATFORM_USETHREADS
SCMP_SYS(fcntl64),
@@ -226,6 +232,8 @@
"fstat64",
"epoll_ctl",
"gettimeofday",
+ "getpid",
+ "getrandom",
"unlink",
#ifndef ISC_PLATFORM_USETHREADS
"fcntl64",