net-misc/chrony: Enable seccomp filtering when USE=seccomp
authorSam James (sam_c) <sam@cmpct.info>
Sun, 15 Mar 2020 20:53:29 +0000 (20:53 +0000)
committerThomas Deutschmann <whissi@gentoo.org>
Mon, 30 Mar 2020 18:36:44 +0000 (20:36 +0200)
commita2c99543bfd3245724e21089a617f28d828c5548
tree9dfdc2ed107c3b2f1a0f5599940420c91682343c
parent5eefb61d11a77c123475fec73db819fa6121b7f2
net-misc/chrony: Enable seccomp filtering when USE=seccomp

We already have USE=seccomp but chronyd won't do anything unless
-F is set to 1. We could also set -F -1 which will log any syscalls
which would've been blocked but won't deny them.

Also fixes systemd for previous commit.

Bug: https://bugs.gentoo.org/711058
Signed-off-by: Sam James (sam_c) <sam@cmpct.info>
Closes: https://github.com/gentoo/gentoo/pull/14973
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
net-misc/chrony/chrony-3.5-r3.ebuild
net-misc/chrony/chrony-4.0_pre1-r1.ebuild [new file with mode: 0644]
net-misc/chrony/chrony-9999.ebuild
net-misc/chrony/files/chrony-3.5-r3-systemd-gentoo.patch [new file with mode: 0644]
net-misc/chrony/files/chronyd.conf