mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-13 11:30:35 +08:00
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
(cherry picked from commit f115afa5d5)
This commit is contained in:
committed by
Jörg Thalheim
parent
cc1b088a94
commit
333fca1bec
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user