From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 0FowDj+ZfGGKJQEAgWs5BA (envelope-from ) for ; Sat, 30 Oct 2021 03:00:47 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id mAu3CT+ZfGF1PwAAbx9fmQ (envelope-from ) for ; Sat, 30 Oct 2021 01:00:47 +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 BDDFD3863C for ; Sat, 30 Oct 2021 03:00:46 +0200 (CEST) Received: from localhost ([::1]:50728 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mgcjl-0000NH-KQ for larch@yhetil.org; Fri, 29 Oct 2021 21:00:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37328) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgcj5-0000Mw-8A for bug-guix@gnu.org; Fri, 29 Oct 2021 21:00:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44774) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mgcj4-0004AL-75 for bug-guix@gnu.org; Fri, 29 Oct 2021 21:00:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mgcj3-0003eY-Tc for bug-guix@gnu.org; Fri, 29 Oct 2021 21:00:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#51425: file-system: validate flags Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 30 Oct 2021 01:00:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51425 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Cc: ludo@gnu.org, 51425@debbugs.gnu.org, jonathan.brielmaier@web.de X-Debbugs-Original-Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , bug-guix@gnu.org, 51425@debbugs.gnu.org, Jonathan Brielmaier Received: via spool by submit@debbugs.gnu.org id=B.163555554813952 (code B ref -1); Sat, 30 Oct 2021 01:00:01 +0000 Received: (at submit) by debbugs.gnu.org; 30 Oct 2021 00:59:08 +0000 Received: from localhost ([127.0.0.1]:56320 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mgciC-0003cx-1G for submit@debbugs.gnu.org; Fri, 29 Oct 2021 20:59:08 -0400 Received: from lists.gnu.org ([209.51.188.17]:54102) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mgci5-0003cI-US for submit@debbugs.gnu.org; Fri, 29 Oct 2021 20:59:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37166) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgci5-0000J2-HK for bug-guix@gnu.org; Fri, 29 Oct 2021 20:59:01 -0400 Received: from tobias.gr ([2a02:c205:2020:6054::1]:34970) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgci3-0003Wh-EK; Fri, 29 Oct 2021 20:59:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=iN3SBh9eF2TFm xf97MINDukmUcZxl25ccQWC54aJyoY=; h=in-reply-to:date:subject:cc:to: from:references; d=tobias.gr; b=S4itBWeJabgSw00dGzDvT0r7/PAXvdzrcXigpV idWumW5v9/aOKkLZLHDlaYKgIvRf4tegHUHJJr6Kp2qDmc9TDdovkMKGUrDmPOskhaD6Jq fM8t4efI+d+kLeJUlPWkk0sy8m6OEBefUlkOJRTJC5acXXdptIveU+0uuxUig8HAD0K3aO gaplC/q4T5MXUv5/4SI3Oc2goCtJwPae909O0tFtoBePF0VrjHXObXhAwrTaDhri2hXtFQ 7I0W6ASXynO4zfRwcW1rtlO6YiQBzJb8A1Q+9THMovHJIKt2YW6YFG/B/1zB94bJzaooNN SnmJwD2x+6vB5cIxxGeiMyiA== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 80224881 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Sat, 30 Oct 2021 00:58:51 +0000 (UTC) References: <33625107-5cf9-85f8-9025-2b9f186723bc@web.de> <87zgqu9bpk.fsf@gmail.com> <87lf2bipgp.fsf@nckx> <87fssj8hnb.fsf@gmail.com> Date: Sat, 30 Oct 2021 02:48:50 +0200 In-reply-to: <87fssj8hnb.fsf@gmail.com> BIMI-Selector: v=BIMI1; s=default; Message-ID: <878rybib00.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" Reply-to: Tobias Geerinckx-Rice From: Tobias Geerinckx-Rice via Bug reports for GNU Guix X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635555646; h=from:from:sender:sender:reply-to: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=iN3SBh9eF2TFmxf97MINDukmUcZxl25ccQWC54aJyoY=; b=AA6NSKikukSsXb5vMODnX5KAvS3BfMA0hJ6CYSaVHp010WFIZ8HiTX4cIJSZi+hAL0JXhb 3kXS43txAm7wxXF9WOGYTXywi5Bmn1eYvvK+yADfb3woD/os0nMnoDG1VPlgtLzNZkW399 L/wO+3encagxaHTbSoihSZ7BCQktKyokFX9Z+aFokAdSugF5KnxeJa0+4mCMGBIzdiTkaf iOSrvEoYjgw2Ccayouu02/7dv1QSwJbqAX1CD20Dyaat3OG3VsV1qPpMvFf1dwCteAprqi fBpKUMbAYdx8vGeT7DjfqHhDst/eVMQUVzvuoR1Il1Lxm/ULo+Kz/by5fPMZmw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635555646; a=rsa-sha256; cv=none; b=cKJFASa5ojE75RVEuumhC2ImVhfW0kp3BFndqmF5rYupUuVMI0uUPz9NUoQJba8a5xZrp8 pN2fUxBOjM4bhR4RCgOebWxYm+ohNWfCsXnunP2kUPdEl2SI8pM7q1tFpRb5B1m/QX26f4 0hmA2w2wL+ZFN5wDqDjlGZC4AKgZwZppoS8x2tkdWNcgBHUvU9NpL9tpaMubYmd++sEU8D 7LrFOwXyhxwBcUkgbjCKDXlXMJO8FduVbzvPIchjhZYjn9pimgQPJWyX6NFqlZ3RgOhtIl fCQgn8zRilOG2Tls5g2kPWIMZmxjMhn/fE0hQYd2R765c6dK5Qkz82L9KiZqsA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tobias.gr header.s=2018 header.b=S4itBWeJ; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -3.03 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tobias.gr header.s=2018 header.b=S4itBWeJ; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: BDDFD3863C X-Spam-Score: -3.03 X-Migadu-Scanner: scn0.migadu.com X-TUID: kB5V5fqTZRHn --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Maxim, Maxim Cournoyer =E5=86=99=E9=81=93=EF=BC=9A > Another thing that is tricky about options is that some of them=20 > are only > really understood by the 'mount' command line utility, not the=20 > 'mount' > system call such as used in our init RAM disk (both are thrown=20 > together > in 'man 8 mount' without an easy way to discern them apart,=20 > IIRC). Aha! Let me introduce you to the only slightly unfortunately=20 named =E2=80=98man 2 mount=E2=80=99 instead. The way mount(8) lumps both together is=E2=80=A6 I guess it's=20 user-friendly =E2=80=94 in a way? =E2=80=94 but it leads to this total conf= usion=20 about what's what. Think of flags as literal bit flags, mainly=20 because they are. Guix does make the distinction. It's the right call but it leads=20 to a brief education moment the first time you encounter both=20 fields. You're absolutely right that mount options OTOH are arbitrary=20 strings. They can't and shouldn't be =E2=80=98validated=E2=80=99, but we d= on't=20 currently mandate their stringiness, and should. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYXyYzw0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15IsABAMgyDMpFX7Q1THfIQ0vOxqXiSO0Z8v8OmQr4860H DKKhAPwNyHO4B0sD925g8YqVpB1/0todcP0NEF8kUSRqYdEeAg== =y72O -----END PGP SIGNATURE----- --=-=-=--