From: "Steve Arnold" <nerdboy@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, 11 Apr 2021 01:34:04 +0000 (UTC) [thread overview]
Message-ID: <1618104821.78639e367e43fc80fb6bcf8bdf8c78f7723b7f11.nerdboy@gentoo> (raw)
commit: 78639e367e43fc80fb6bcf8bdf8c78f7723b7f11
Author: Steve Arnold <nerdboy <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 11 01:33:41 2021 +0000
Commit: Steve Arnold <nerdboy <AT> gentoo <DOT> org>
CommitDate: Sun Apr 11 01:33:41 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78639e36
net-misc/ntpsec: add missing seccomp patch for newfstatat
Closes: https://bugs.gentoo.org/779880
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Steve Arnold <nerdboy <AT> gentoo.org>
.../ntpsec/files/ntpsec-1.2.0-move-newfstatat.patch | 20 ++++++++++++++++++++
net-misc/ntpsec/ntpsec-1.2.0-r1.ebuild | 1 +
2 files changed, 21 insertions(+)
diff --git a/net-misc/ntpsec/files/ntpsec-1.2.0-move-newfstatat.patch b/net-misc/ntpsec/files/ntpsec-1.2.0-move-newfstatat.patch
new file mode 100644
index 00000000000..75453c6cb5f
--- /dev/null
+++ b/net-misc/ntpsec/files/ntpsec-1.2.0-move-newfstatat.patch
@@ -0,0 +1,20 @@
+diff --git a/ntpd/ntp_sandbox.c b/ntpd/ntp_sandbox.c
+index e66faaa8c..b2af654e5 100644
+--- a/ntpd/ntp_sandbox.c
++++ b/ntpd/ntp_sandbox.c
+@@ -349,6 +349,7 @@ int scmp_sc[] = {
+ SCMP_SYS(lseek),
+ SCMP_SYS(membarrier), /* Needed on Alpine 3.11.3 */
+ SCMP_SYS(munmap),
++ SCMP_SYS(newfstatat),
+ SCMP_SYS(open),
+ #ifdef __NR_openat
+ SCMP_SYS(openat), /* SUSE */
+@@ -451,7 +452,6 @@ int scmp_sc[] = {
+ #endif
+ #if defined(__aarch64__)
+ SCMP_SYS(faccessat),
+- SCMP_SYS(newfstatat),
+ SCMP_SYS(renameat),
+ SCMP_SYS(linkat),
+ SCMP_SYS(unlinkat),
diff --git a/net-misc/ntpsec/ntpsec-1.2.0-r1.ebuild b/net-misc/ntpsec/ntpsec-1.2.0-r1.ebuild
index 640727916e0..28c6723abb7 100644
--- a/net-misc/ntpsec/ntpsec-1.2.0-r1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.0-r1.ebuild
@@ -60,6 +60,7 @@ DEPEND="${CDEPEND}
PATCHES=(
"${FILESDIR}/${PN}-1.1.8-fix-missing-scmp_sys-on-aarch64.patch"
"${FILESDIR}/${PN}-1.1.9-remove-asciidoctor-from-config.patch"
+ "${FILESDIR}/${PN}-1.2.0-move-newfstatat.patch"
)
WAF_BINARY="${S}/waf"
next reply other threads:[~2021-04-11 1:34 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-11 1:34 Steve Arnold [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-06-14 8:03 [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/files/, net-misc/ntpsec/ 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-11-14 8:49 Sam James
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=1618104821.78639e367e43fc80fb6bcf8bdf8c78f7723b7f11.nerdboy@gentoo \
--to=nerdboy@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