From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/files/, net-misc/ntpsec/
Date: Sun, 14 Nov 2021 08:49:01 +0000 (UTC) [thread overview]
Message-ID: <1636879732.96b3c7a5f76e2d6f66f307816f06cda43fad1a7b.sam@gentoo> (raw)
commit: 96b3c7a5f76e2d6f66f307816f06cda43fad1a7b
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 14 08:47:06 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Nov 14 08:48:52 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96b3c7a5
net-misc/ntpsec: allow clone3 for glibc-2.34 (seccomp filter fix)
Closes: https://bugs.gentoo.org/823692
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../files/ntpsec-1.2.1-seccomp-glibc-2-3-4.patch | 19 +++++++++++++++++++
.../{ntpsec-1.2.1.ebuild => ntpsec-1.2.1-r1.ebuild} | 1 +
2 files changed, 20 insertions(+)
diff --git a/net-misc/ntpsec/files/ntpsec-1.2.1-seccomp-glibc-2-3-4.patch b/net-misc/ntpsec/files/ntpsec-1.2.1-seccomp-glibc-2-3-4.patch
new file mode 100644
index 000000000000..65b718285a8d
--- /dev/null
+++ b/net-misc/ntpsec/files/ntpsec-1.2.1-seccomp-glibc-2-3-4.patch
@@ -0,0 +1,19 @@
+https://bugs.gentoo.org/823692
+
+From 170d60b7e269154fb108bb4b010ee5ee0110bf2d Mon Sep 17 00:00:00 2001
+From: Sam James <sam@gentoo.org>
+Date: Sun, 14 Nov 2021 08:44:28 +0000
+Subject: [PATCH] ntpd/ntp_sandbox.c: allow clone3 in seccomp filter for
+ glibc-2.34
+
+Signed-off-by: Sam James <sam@gentoo.org>
+--- a/ntpd/ntp_sandbox.c
++++ b/ntpd/ntp_sandbox.c
+@@ -403,6 +403,7 @@ int scmp_sc[] = {
+ * rather than generate a trap.
+ */
+ SCMP_SYS(clone), /* threads */
++ SCMP_SYS(clone3),
+ SCMP_SYS(kill), /* generate signal */
+ SCMP_SYS(madvise),
+ SCMP_SYS(mprotect),
diff --git a/net-misc/ntpsec/ntpsec-1.2.1.ebuild b/net-misc/ntpsec/ntpsec-1.2.1-r1.ebuild
similarity index 98%
rename from net-misc/ntpsec/ntpsec-1.2.1.ebuild
rename to net-misc/ntpsec/ntpsec-1.2.1-r1.ebuild
index 60874b5802b2..c206360674b5 100644
--- a/net-misc/ntpsec/ntpsec-1.2.1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.1-r1.ebuild
@@ -62,6 +62,7 @@ PATCHES=(
"${FILESDIR}/${PN}-1.1.9-remove-asciidoctor-from-config.patch"
"${FILESDIR}/${PN}-1.2.0-move-newfstatat.patch"
"${FILESDIR}/${PN}-1.2.0-seccomp.patch"
+ "${FILESDIR}/${PN}-1.2.1-seccomp-glibc-2-3-4.patch"
)
WAF_BINARY="${S}/waf"
next reply other threads:[~2021-11-14 8:49 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-14 8:49 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-04-19 5:17 [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/files/, net-misc/ntpsec/ Sam James
2024-06-14 8:03 Sam James
2023-04-16 22:39 Sebastian Pipping
2022-11-02 0:47 Sam James
2022-06-12 11:59 Sam James
2022-06-03 5:32 Sam James
2021-12-02 21:56 Steve Arnold
2021-04-11 1:34 Steve Arnold
2020-03-14 3:24 Steve Arnold
2019-08-05 4:59 Steve Arnold
2019-05-23 17:56 Anthony G. Basile
2018-02-25 17:19 Anthony G. Basile
2018-02-23 22:54 Steve Arnold
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1636879732.96b3c7a5f76e2d6f66f307816f06cda43fad1a7b.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox