From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KH3TBGkXW2HhbAAAgWs5BA (envelope-from ) for ; Mon, 04 Oct 2021 17:02:01 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id YK9yAGkXW2F7IwAAB5/wlQ (envelope-from ) for ; Mon, 04 Oct 2021 15:02:01 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 848AF916D for ; Mon, 4 Oct 2021 17:02:00 +0200 (CEST) Received: from localhost ([::1]:46350 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mXPTb-0006XK-Hi for larch@yhetil.org; Mon, 04 Oct 2021 11:01:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59748) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXPSi-0006UW-Nb for guix-patches@gnu.org; Mon, 04 Oct 2021 11:01:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54759) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mXPSg-0003pS-6J for guix-patches@gnu.org; Mon, 04 Oct 2021 11:01:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mXPSf-0006c4-Ut for guix-patches@gnu.org; Mon, 04 Oct 2021 11:01:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50698] [PATCH] WIP patches for recently-known hurd security vulnerabilities Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 04 Oct 2021 15:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50698 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch security To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 50698@debbugs.gnu.org Received: via spool by 50698-submit@debbugs.gnu.org id=B50698.163335965825404 (code B ref 50698); Mon, 04 Oct 2021 15:01:01 +0000 Received: (at 50698) by debbugs.gnu.org; 4 Oct 2021 15:00:58 +0000 Received: from localhost ([127.0.0.1]:38072 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXPSc-0006bg-IL for submit@debbugs.gnu.org; Mon, 04 Oct 2021 11:00:58 -0400 Received: from laurent.telenet-ops.be ([195.130.137.89]:43154) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXPSX-0006bT-UB for 50698@debbugs.gnu.org; Mon, 04 Oct 2021 11:00:56 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by laurent.telenet-ops.be with bizsmtp id 1r0s260020mfAB401r0sNE; Mon, 04 Oct 2021 17:00:52 +0200 Message-ID: From: Maxime Devos Date: Mon, 04 Oct 2021 17:00:43 +0200 In-Reply-To: <87pmskq4mc.fsf@gnu.org> References: <727b3d7ec511589ab714874d6648ee4afa458e3c.camel@telenet.be> <87pmskq4mc.fsf@gnu.org> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-0gIDKwqpBpzhvzNzv4jE" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1633359652; bh=zn/CyJlhUKyqZ8G6tp9CSGZXWRZQ1Q0t0b8Vyfmua4o=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=QHMS16jCkrky6KuMpU13tD76REkCWCKzHYOL3pCLSy5D9YBUtiAoObb8CupinP6od hZ3zME/WCUt6viIedu6f0NbHl9P5uJzsBUKwOgcTbBqeNLDEdVm2ugAvaDeqTp28Mn gxSwFgjF6OagE90ZjSROL8Nv12hKazjCL0UY17CRcL9d9XYeLIvbbwCwLIIiOw7Jxa Qeb/CjRs8ss+KiCjdZ5sFyHlss4Ee6l7hIugdelqRRe7i6aiRD6FzE+TEXGaqhjpjv OVWU/7fyZAVeVnb/MadiTGZBj7xYYgOJqEwKKLLC5h+zb2zAIcX8fJZ0HiYmEBmBvG Sb7x/XIQ2JYLQ== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633359720; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=zn/CyJlhUKyqZ8G6tp9CSGZXWRZQ1Q0t0b8Vyfmua4o=; b=DwfJt80gS00yUwHilxZH9vs2lUswQwdM+IZXhlyQwDOXtgLppCJ3+pZxCLJmTMS7VQSeWt jja8oBr+X5axq03XVfOmFZzQnohfCGup4qcDpm7/ZGewSGswsHWUJkQc11DsRw50Jwgywl Aj+vdhYnW5oTKkAvKKxMX8zv/3cJGHeiKYtFGBJ+UdbLpov0CAtB+zuJyMbiO5rofPu2nt 7fSeykjPMAGIrR40BtNLCpV9eJeTy0xKFdlqwlIP7krKq9PYmv31/6tI/tHyiCJ3sfCbPr ZmO+ft7ZyymvCpb/ogA9wm5i7ScjFBN1QBx35IT2bTR0h1eNAFDcvEaLm30TIA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633359720; a=rsa-sha256; cv=none; b=DvCsWCoaEz3Kg3Yrk6nybteHpJFIyi5bqdRNVSzEnynjpL6BqBjwGgluyKit2IdHKYQp9p XNgaCXkaP6yHnYdDSy7132cw5E9mVEOtQb8SfqYlu6YORv5WkfBWKHKSaMHRnCrpidnyUs eLcyEHMhWRARqg+7GpJiPTP4LhBCJ61et66p6TXmgNkkUjzmo1NyaExZ0GJTfvinegU84n K23EpSfihGPUm8dxNwPfGnj480Ypic8nmiltA+k5obgYw2Le6xA5GLCa5nv6BKxUk+Y0nf Esjfbl9gPPeOCLOnAoMLJ9naKDEBIg0+vAZ1SKdbPSksKUTeAKWolY6WbFELoQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=QHMS16jC; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -3.41 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=QHMS16jC; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 848AF916D X-Spam-Score: -3.41 X-Migadu-Scanner: scn0.migadu.com X-TUID: /HS+YzaIpSsm --=-0gIDKwqpBpzhvzNzv4jE Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s schreef op ma 04-10-2021 om 15:52 [+0200]: > > +(define glibc/fixed > > + (package-with-extra-patches > > + glibc > > + (search-patches "glibc-hurd-sendmsg-SCM_CREDS.patch" > > + "glibc-hurd-proc-reauth.patch"))) >=20 > Instead of a replacement, which makes no sense on GNU/Linux, could you > add a conditional phase for (hurd-target?) that applies the patches? A replacement would be useless on GNU/Linux, but harmless. Adding a phase (conditional on (hurd-target?)) to glibc calling 'patch' on these patches would be possible, but would cause a world-rebuild for GNU/Hurd (though not for GNU/Linux). Because i586-gnu is =E2=80=98experimental and under development=E2=80=99 (according to (guix)GNU Distribution), I suppose the (partial) world-rebuild is acceptable here?=20 Greetings, Maxime. --=-0gIDKwqpBpzhvzNzv4jE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYVsXHBccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7nMxAP45FVW/LChPC/crnjAUqF5djayB CJoATzWVpQt0G+JhqQD/esgcdRHI8B+016W+I60ThcW9b3jaujHRG+m3jmBmsQw= =J3lD -----END PGP SIGNATURE----- --=-0gIDKwqpBpzhvzNzv4jE--