Merge pull request #24573 from ambrop72/ntpd-fix

ntpd: Add patch to allow getpid syscall in seccomp filter.
This commit is contained in:
Joachim F
2017-04-06 11:06:13 +01:00
committed by GitHub
2 changed files with 48 additions and 0 deletions
+4
View File
@@ -15,6 +15,10 @@ stdenv.mkDerivation rec {
sha256 = "17xrk7gxrl3hgg0i73n8qm53knyh01lf0f3l1zx9x6r1cip3dlnx";
};
# The hardcoded list of allowed system calls for seccomp is
# insufficient for NixOS, add more to make it work (issue #21136).
patches = [ ./seccomp.patch ];
configureFlags = [
"--sysconfdir=/etc"
"--localstatedir=/var"