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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9231115800F for ; Sun, 1 Jan 2023 18:16:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 962FDE085A; Sun, 1 Jan 2023 18:16:37 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7B5F4E07D3 for ; Sun, 1 Jan 2023 18:16:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8516B3408B8 for ; Sun, 1 Jan 2023 18:16:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0B5A37E8 for ; Sun, 1 Jan 2023 18:16:35 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1672596973.1e188b6c8248035454631203353b4bcf4e8a5f23.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/file/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/file/files/file-5.39-portage-sandbox.patch sys-apps/file/files/file-5.40-seccomp-fstatat64-musl.patch X-VCS-Directories: sys-apps/file/files/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 1e188b6c8248035454631203353b4bcf4e8a5f23 X-VCS-Branch: master Date: Sun, 1 Jan 2023 18:16:35 +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: 02baa4d6-5897-490d-aa2b-b5b1dda9993a X-Archives-Hash: b70ef8327db3dddbc9d0a6afb1be4654 commit: 1e188b6c8248035454631203353b4bcf4e8a5f23 Author: Michael Mair-Keimberger levelnine at> AuthorDate: Sun Jan 1 13:39:34 2023 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Sun Jan 1 18:16:13 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e188b6c sys-apps/file: remove unused patches Signed-off-by: Michael Mair-Keimberger levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/28921 Signed-off-by: Conrad Kostecki gentoo.org> .../file/files/file-5.39-portage-sandbox.patch | 17 ----------------- .../files/file-5.40-seccomp-fstatat64-musl.patch | 22 ---------------------- 2 files changed, 39 deletions(-) diff --git a/sys-apps/file/files/file-5.39-portage-sandbox.patch b/sys-apps/file/files/file-5.39-portage-sandbox.patch deleted file mode 100644 index 1880f6223c06..000000000000 --- a/sys-apps/file/files/file-5.39-portage-sandbox.patch +++ /dev/null @@ -1,17 +0,0 @@ -From 81765a2d4fcce23f42495d5ec03bbfecb2a3c381 Mon Sep 17 00:00:00 2001 -From: tka -Date: Wed, 24 Jun 2020 11:18:45 +0200 -Subject: [PATCH] Allow getcwd for Gentoo's portage sandbox - -Bug: https://bugs.gentoo.org/728978 ---- a/src/seccomp.c -+++ b/src/seccomp.c -@@ -229,6 +229,8 @@ enable_sandbox_full(void) - ALLOW_RULE(write); - ALLOW_RULE(writev); - -+ // needed by Gentoo's portage sandbox -+ ALLOW_RULE(getcwd); - - #if 0 - // needed by valgrind diff --git a/sys-apps/file/files/file-5.40-seccomp-fstatat64-musl.patch b/sys-apps/file/files/file-5.40-seccomp-fstatat64-musl.patch deleted file mode 100644 index 28a278e73f07..000000000000 --- a/sys-apps/file/files/file-5.40-seccomp-fstatat64-musl.patch +++ /dev/null @@ -1,22 +0,0 @@ -From 8c13923a8e17a02be0989649b2edc20124816729 Mon Sep 17 00:00:00 2001 -From: Mike Gilbert -Date: Tue, 15 Jun 2021 16:08:22 -0400 -Subject: [PATCH] seccomp: undef fstatat64 to avoid build failure on musl - -sys/stat.h in musl does this: - - #define fstatat64 fstatat - -Counteract this with an #undef. - -Bug: https://bugs.gentoo.org/789336 ---- a/src/seccomp.c -+++ b/src/seccomp.c -@@ -179,6 +179,7 @@ enable_sandbox_full(void) - ALLOW_RULE(fstat); - ALLOW_RULE(fstat64); - #ifdef __NR_fstatat64 -+#undef fstatat64 - ALLOW_RULE(fstatat64); - #endif - ALLOW_RULE(futex);