From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 02 09:46:05 2021 Received: (at submit) by debbugs.gnu.org; 2 Feb 2021 14:46:05 +0000 Received: from localhost ([127.0.0.1]:34424 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6wwO-0001KS-4Q for submit@debbugs.gnu.org; Tue, 02 Feb 2021 09:46:05 -0500 Received: from lists.gnu.org ([209.51.188.17]:49812) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6wwK-0001Gm-Or for submit@debbugs.gnu.org; Tue, 02 Feb 2021 09:46:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48562) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6wwK-0007Af-Ee for bug-guile@gnu.org; Tue, 02 Feb 2021 09:46:00 -0500 Received: from xavier.telenet-ops.be ([2a02:1800:120:4::f00:14]:52574) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l6wwA-0002ur-Sl for bug-guile@gnu.org; Tue, 02 Feb 2021 09:46:00 -0500 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by xavier.telenet-ops.be with bizsmtp id QEll2400N0mfAB401EllVy; Tue, 02 Feb 2021 15:45:45 +0100 Message-ID: <6c9d1a78a198d4b5111fe42af67eaeb241e507ae.camel@telenet.be> Subject: openat, chownat, ... in Guile? From: Maxime Devos To: bug-guile@gnu.org Date: Tue, 02 Feb 2021 15:45:31 +0100 Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-a+2XXKO/xI0T8oFag4eT" 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=1612277145; bh=ZJpk23JxLEUJaxYb2uIWWfQAMP+uV0q3birWMhGIbpk=; h=Subject:From:To:Date; b=oie2lDw1xBz72RUuHR4rqDt5/BAGkvua/9CrSL2OH7g8p1U4YWH8b4JsS/udqZK+m l/K2uf7Z8vqJCKQXb7OBf+p6804lHdd06v7Fag+EAne//Zb5Rv+D5XAw6pRYvdtBFu swy8o/YEh6XaU0E9djBeP7IXOt16T4rHW4IsSmh7Fpuvk5CTHGKwu4yqsrSKvMksnl /M0lN+FG4c6v6XfHhb9A2QPvE2ZV3AVcPnObYmL6nNg0cXGdkKYk3CCtXB2TBtMNGT cxtmOlOFsugJhP+OlyZtVgFrycgjULJYZvCiYbKSLDwD4Xn0DQcwdw4WWkeYde3/+Y mdTiys2n94+Mw== Received-SPF: pass client-ip=2a02:1800:120:4::f00:14; envelope-from=maximedevos@telenet.be; helo=xavier.telenet-ops.be X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --=-a+2XXKO/xI0T8oFag4eT Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi guilers, I would like to see fchownat, openat, fchmodat and any *at variants I forgot to appear in future versions of Guile in some form. I have two proposals, which I will illustrate with the procedure 'chmod': * chmod can currently modify permissions of a file. This OBJECT argument identifying the file can currently be a filename or a port. Allow a =E2=80=98file in a directory=E2=80=99 object as well. This could be created with a procedure (make-path-at DIRECTORY-PORT FILENAME) This procedure does not perform any I/O, but rather constructs what is effectively is a pair (DIRECTORY-PORT . FILENAME) but with its own type. * Follow the C API, but with Scheme types. (chmodat DIRECTORY-PORT FILENAME MODE FLAGS) where FLAGS can include AT_SYMLINK_NOFOLLOW (from chmod(2) Linux man page) Any thoughts? Greetings, Maxime P.S. I'm not subscribed to bug-guile@gnu.org, please CC me. --=-a+2XXKO/xI0T8oFag4eT Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYIADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYBllixccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7r2sAQDriygPto4bXe/ZxgEACkMFAttd 35gJUUlnJCVkbW0ARwEAqWTg0KBtxyiEcB34kf5J8zRTHGOUw4SmvkV/CP68DQA= =G0JL -----END PGP SIGNATURE----- --=-a+2XXKO/xI0T8oFag4eT-- From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 05 09:17:00 2021 Received: (at 46258) by debbugs.gnu.org; 5 Feb 2021 14:17:00 +0000 Received: from localhost ([127.0.0.1]:43240 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l81ut-0000nn-IG for submit@debbugs.gnu.org; Fri, 05 Feb 2021 09:17:00 -0500 Received: from laurent.telenet-ops.be ([195.130.137.89]:51010) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l81uc-0000nJ-JR for 46258@debbugs.gnu.org; Fri, 05 Feb 2021 09:16:58 -0500 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 RSGg2400r0mfAB401SGgqZ; Fri, 05 Feb 2021 15:16:40 +0100 Message-ID: Subject: Re: Potential security weakness in Guix services From: Maxime Devos To: Ludovic =?ISO-8859-1?Q?Court=E8s?= Date: Fri, 05 Feb 2021 15:16:39 +0100 In-Reply-To: <56adb5efa894304c27beba99b07e2f8cfd8ee7cb.camel@telenet.be> References: <87k0rrls0z.fsf@gnu.org> <08F0CD76-DDCF-4CFA-AE8D-5FB165A62B25@lepiller.eu> <87o8h2ehy7.fsf@gnu.org> <69968b3a01d872cabdf55a94b6c82d5057e010c9.camel@telenet.be> <87v9b66dm1.fsf@gnu.org> <56adb5efa894304c27beba99b07e2f8cfd8ee7cb.camel@telenet.be> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-4K+9MGQhmudMCJ41qanR" 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=1612534600; bh=IMmEkdZMlg/xavMmEOuOpASTvum0PqF5tCi7xRCm0dg=; h=Subject:From:Reply-To:To:Cc:Date:In-Reply-To:References; b=ASl+qvAN1UEsuF1nn/tyYIL9VmFrUyvCvpWRZvdtuWPHpCGmKXjOM0SL7p320vEPH zPk5j7RgDKHtxw1gsAUc7wehREKge7jMx25gNjPJeTql5B2ZDbbALGUauvRFw/brI8 yMneFdLDQhlksiU1zCBhV8BHE7gbjXDqWs0fNG5dtTN5CsEjzROSBk51wCA+kJqZHK PMfxEInTuKDn/A7Nu+ADz63EErEqD1ERlHm2JPtAS0q9uKeAExmczmayznrfTmfZz/ 5xQEPrDPYh0cmM7Am+1c7XRfjRYkscS3RbFdOD/fuo8VICq0xIfSE73VkBNmSRPJHS gzIRjS8SvSHIQ== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 46258 Cc: guix-devel@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: guix-devel@gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-4K+9MGQhmudMCJ41qanR Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, 2021-02-05 at 13:20 +0100, Maxime Devos wrote: > On Fri, 2021-02-05 at 10:57 +0100, Ludovic Court=C3=A8s wrote: > > [...] > [...] >=20 > I'll try to implement this API in Scheme (using the FFI), and post > it at https://notabug.org/mdevos/things. I'll post a follow-up > messsage once I've implemented the basics (openat, chmodat, > chownat). Ping! https://notabug.org/mdevos/things/src/a0715e6758ad43252e16993dcf688a2515605= 7f3/fs-at.scm --=-4K+9MGQhmudMCJ41qanR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYIADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYB1TRxccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7nUPAPsH9KXqmRejDUetGW2tQtc9Sa6/ 2JTTBINsrZUWiUQnTwEAj7xQNb2qCWMk2l1LswINy9/1PZ2r91UlzEe4lXoxbw4= =IGWx -----END PGP SIGNATURE----- --=-4K+9MGQhmudMCJ41qanR-- From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 24 07:55:50 2022 Received: (at 46258) by debbugs.gnu.org; 24 Mar 2022 11:55:50 +0000 Received: from localhost ([127.0.0.1]:46993 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXM4E-0001G8-C6 for submit@debbugs.gnu.org; Thu, 24 Mar 2022 07:55:50 -0400 Received: from laurent.telenet-ops.be ([195.130.137.89]:41186) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXM4C-0001Fz-Eq for 46258@debbugs.gnu.org; Thu, 24 Mar 2022 07:55:49 -0400 Received: from [IPv6:2a02:2c40:200:b001::1:66ec] ([IPv6:2a02:2c40:200:b001::1:66ec]) by laurent.telenet-ops.be with bizsmtp id ABvl2700M48ECPd01BvmcR; Thu, 24 Mar 2022 12:55:47 +0100 Message-ID: Subject: Re: bug#54485: [PATCH] gnu: Add guile-with-openat. From: Maxime Devos To: Ludovic =?ISO-8859-1?Q?Court=E8s?= Date: Thu, 24 Mar 2022 12:55:41 +0100 In-Reply-To: <87czibd1j3.fsf@gnu.org> References: <20220320215031.306710-1-maximedevos@telenet.be> <87czibd1j3.fsf@gnu.org> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-OdDktcrnEpurxIDMM+rK" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1648122947; bh=pd0wHOSyPVP5E+gsUBRU9QNFAiG0IIoF7GK4La9BfYA=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=otxEQDnBYLA/BxJVE5LP5Ozx0RR3taAJj+ZreRGRyZiRcgp4/MMDzrqEZ1KdgNtEH 7v5lC5ld6ByzYoGaJ27gX70F3W0T9DvT+RhKQrZ4+iYUW1e5eLn4f26meSi6Ux4+h4 ylHiM5Ck0Wqs1Vb50PRCm5gTJikn0UviVXSktvrX7x3jwgcAwAazYsvx+7FZWEfaS/ jqDb2TP5l2HQjVu2+H4tpQ9P69QjSFtA+xLpUCx5Ah0z3RxC9H52m/tBVA4m5ED1cK uwj6pKWBTiJmnyx/gACKnfCp3EiytbuEEF5LLwsDmn58kNMXzEs0zC/go0cPXIzrVU AN6wXuwz+VjEg== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 46258 Cc: 46258@debbugs.gnu.org, 54485@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-OdDktcrnEpurxIDMM+rK Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s schreef op do 24-03-2022 om 12:37 [+0100]: > Instead, I would prefer to actually review and apply the patches > upstream.=C2=A0 I=E2=80=99ve been meaning to do that, really, but it requ= ires a chunk > of time and focus, which keeps leading me to postpone. OK. I can relate, w.r.t. the IPFS substitution patches. > Is the latest patch set on guile-devel?=C2=A0 It=E2=80=99s not mentioned = at > . It's at . Greetings, Maxime. --=-OdDktcrnEpurxIDMM+rK 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+4iGRcl7gUCYjxcPRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7u8JAP9X68N7KqIYB2g4C43hK1TeMv4n LMbyJ3Xt42ismfPt5QD/U/yWNYurX2avnOmouLhBp+rYS59Qlo4yy7RvlFYcOgE= =LX0E -----END PGP SIGNATURE----- --=-OdDktcrnEpurxIDMM+rK--