Merge pull request #41831 from cleverca22/fix-ntpd-openat

ntp: fix a missed syscall in seccomp
This commit is contained in:
Jörg Thalheim 2018-06-11 12:04:53 +01:00 committed by GitHub
commit c9206cdd97
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,11 +34,12 @@ diff -urN ntp-4.2.8p10.orig/ntpd/ntpd.c ntp-4.2.8p10/ntpd/ntpd.c
SCMP_SYS(madvise), SCMP_SYS(madvise),
SCMP_SYS(mmap), SCMP_SYS(mmap),
SCMP_SYS(mmap2), SCMP_SYS(mmap2),
@@ -1211,6 +1216,7 @@ @@ -1211,6 +1216,8 @@
SCMP_SYS(select), SCMP_SYS(select),
SCMP_SYS(setitimer), SCMP_SYS(setitimer),
SCMP_SYS(setsid), SCMP_SYS(setsid),
+ SCMP_SYS(setsockopt), + SCMP_SYS(setsockopt),
+ SCMP_SYS(openat),
SCMP_SYS(sigprocmask), SCMP_SYS(sigprocmask),
SCMP_SYS(sigreturn), SCMP_SYS(sigreturn),
SCMP_SYS(socketcall), SCMP_SYS(socketcall),