3
0
Fork 0
forked from mirrors/nixpkgs

ntp: fix a missed syscall in seccomp

ntpd uses openat to adjust the drift file, which it only does after a few hours of uptime
This commit is contained in:
Michael Bishop 2018-06-11 07:40:26 -03:00
parent ed657a98c7
commit f115afa5d5

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(mmap),
SCMP_SYS(mmap2),
@@ -1211,6 +1216,7 @@
@@ -1211,6 +1216,8 @@
SCMP_SYS(select),
SCMP_SYS(setitimer),
SCMP_SYS(setsid),
+ SCMP_SYS(setsockopt),
+ SCMP_SYS(openat),
SCMP_SYS(sigprocmask),
SCMP_SYS(sigreturn),
SCMP_SYS(socketcall),