mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
40 lines
858 B
Diff
40 lines
858 B
Diff
|
# https://github.com/voidlinux/void-packages/blob/master/srcpkgs/bind/patches/seccomp.patch
|
||
|
--- a/bin/named/include/named/seccomp.h.orig
|
||
|
+++ b/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",
|