From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D9E681382C5 for ; Sun, 11 Apr 2021 01:34:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 020B5E0887; Sun, 11 Apr 2021 01:34:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BB459E0887 for ; Sun, 11 Apr 2021 01:34:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 60796340817 for ; Sun, 11 Apr 2021 01:34:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9603E478 for ; Sun, 11 Apr 2021 01:34:04 +0000 (UTC) From: "Steve Arnold" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Steve Arnold" Message-ID: <1618104821.78639e367e43fc80fb6bcf8bdf8c78f7723b7f11.nerdboy@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/files/, net-misc/ntpsec/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/ntpsec/files/ntpsec-1.2.0-move-newfstatat.patch net-misc/ntpsec/ntpsec-1.2.0-r1.ebuild X-VCS-Directories: net-misc/ntpsec/ net-misc/ntpsec/files/ X-VCS-Committer: nerdboy X-VCS-Committer-Name: Steve Arnold X-VCS-Revision: 78639e367e43fc80fb6bcf8bdf8c78f7723b7f11 X-VCS-Branch: master Date: Sun, 11 Apr 2021 01:34:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ec5f4fbe-06c2-4e9f-91c2-aece0c784d15 X-Archives-Hash: c3112e5f28f520f3ce6b6ea6ac4a9908 commit: 78639e367e43fc80fb6bcf8bdf8c78f7723b7f11 Author: Steve Arnold gentoo org> AuthorDate: Sun Apr 11 01:33:41 2021 +0000 Commit: Steve Arnold gentoo 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 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"