Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1056771rwb; Thu, 10 Nov 2022 10:35:16 -0800 (PST) X-Google-Smtp-Source: AMsMyM5vQqpeE1YESPfvlIp84NkYblBwAS0Lxym5Z/wlJD4FMjcoroSM2OLyAm964PmGPDotLKgf X-Received: by 2002:a05:6a00:4505:b0:53e:6210:96de with SMTP id cw5-20020a056a00450500b0053e621096demr3146449pfb.58.1668105316198; Thu, 10 Nov 2022 10:35:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668105316; cv=none; d=google.com; s=arc-20160816; b=rFxqLM0RDs0iTHQQXEeo5qjRAH+WRuTymO9L6GcR1wx5WX21Rims6nVWz5LdlVMMBe etoUNrpwV7YPUkP9/Gu/d6mIp98V0bEaVGYubzpmihwTlB5WiXusffKGjxya3ffqvii/ pRfeouhq5Nc2EKVdgFF0YhT6VKk55TFgo6aAFBG/NMHeOG0iPP5b28gYlWGvYHIuj7to SN8Lr6iXbI/zlgLiParRsbK8XQnIWtN3zhPg6MIswAf+86YAk+gwANeY5qRMpuoWozhF ESDr46j4Dty76Hd2bpKD3DzHv06E8Oapb13s7W901siR/KkgrUg8dfAJ7QBvAIgzTTTd sheA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ubhDJ0hNK+jqpKfYrnAyE4FAIXC9zmOHLMHL5eh6JY0=; b=j1u4uZQZAfOW/SlYY6Benc6+HdEbXlDvLlhM2NS9StAT9fI9rVpTn6gU0B6u5OuFgU hw0ZSNaFIq1hGIfT7UAW7+63Dmgy5R/tkWPs+OOMMN7gpHYXwL8F7YDySz/xUIo7dyHt GzB3x5GIrFWdZVzBHRqpy2aLfFkY9j5K21TJDWlp20gDGIwbwMLlhAKwKIZ3mk2MQ4qd 3+U5mRP8fNFxZvsQFuGbIPXFx7JhDFJas4aFhi/+qGqpvnUG1eVUmxkk+qvghYYsfghj ziuqUpYZyWFi0GiwrJnBZ2BYAGCyKJNn6tfZSBXT85YVgLfUfJeb4Q1yLP/9b5HY755c UhVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mit.edu header.s=outgoing header.b=fgR7SKMv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mit.edu Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k8-20020a63ab48000000b0043c0b452d3esi273612pgp.292.2022.11.10.10.35.03; Thu, 10 Nov 2022 10:35:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@mit.edu header.s=outgoing header.b=fgR7SKMv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mit.edu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231649AbiKJSPw (ORCPT + 93 others); Thu, 10 Nov 2022 13:15:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231612AbiKJSPu (ORCPT ); Thu, 10 Nov 2022 13:15:50 -0500 Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D743D4731B; Thu, 10 Nov 2022 10:15:48 -0800 (PST) Received: from letrec.thunk.org ([12.139.153.3]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 2AAIFdvI015314 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 10 Nov 2022 13:15:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mit.edu; s=outgoing; t=1668104142; bh=ubhDJ0hNK+jqpKfYrnAyE4FAIXC9zmOHLMHL5eh6JY0=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=fgR7SKMvpGIIuDf380q+kF2DNNC9MZP/1VsvT/uGvp4wfDv/bCj+Ux7tLx3wf+Da2 RVpn2AmFV/qUe9OyU+hk/snuKAsd9BccwxCSbN0IA/kkPGt1OlhdglmpXxnF+6nbVF u6zBelcsfCD4MDtxRMSjT1+hVxwIqVv9hsykhLSEmzeGDV7rE4M7VqBnY6HBXdXSvn jHG7Mwd6rJ4YOhULQbbNWiEqEtyqglHM9o+oTBAwNvIgQbYNMScI1Y1HCZcd1BLREq aZWbrw0QSy1j+i0Ok9uoP95DxQNGE/s0k7WWndJPherdadwhARAjPOJ883BvjM0/O3 4JhCo6zj0OZLg== Received: by letrec.thunk.org (Postfix, from userid 15806) id D00318C0252; Thu, 10 Nov 2022 13:15:38 -0500 (EST) Date: Thu, 10 Nov 2022 13:15:38 -0500 From: "Theodore Ts'o" To: Niels de Vos Cc: linux-fscrypt@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Xiubo Li , Marcel Lauhoff Subject: Re: [RFC 0/4] fs: provide per-filesystem options to disable fscrypt Message-ID: References: <20221110141225.2308856-1-ndevos@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 10, 2022 at 05:47:10PM +0100, Niels de Vos wrote: > And, there actually are options like CONFIG_EXT4_FS_POSIX_ACL and > CONFIG_EXT4_FS_SECURITY. Because these exist already, I did not expect > too much concerns with proposing a CONFIG_EXT4_FS_ENCRYPTION... Actually, I was thinking of getting rid of them, as we've already gotten rid of EXT4_FS_POSIX_ACL.... > Thanks for adding some history about this. I understand that extra > options are needed while creating/tuning the filesystems. Preventing > users from setting the right options in a filesystem is not easy, even > if tools from a distribution do not offer setting the options. Disks can > be portable, or network-attached, and have options enabled that an other > distributions kernel does not (want to) support. Sure, but as I said, there are **tons** of file system features that have not and/or still are not supported for distros, but for which we don't have kernel config knobs. This includes ext4's bigalloc and inline data, btrfs's dedup and reflink support, xfs online fsck, etc., etc., etc. Heck, ext4 is only supported up to a certain size by Red Hat, and we don't have a Kernel config so that the kernel will absolutely refuse to mount an ext4 file system larger than The Officially Supported RHEL Capacity Limit for Ext4. So what makes fscrypt different from all of these other unsupported file system features? There are plenty of times when I've had to explain to customers why, sure they could build their own kernels for RHEL 4 (back in the day when I worked for Big Blue and had to talk to lots of enterprise customers), but if they did, Red Hat support would refuse to give them the time of day if they called asking for help. We didn't set up use digitally signed kernels with trusted boot so that a IBM server would refuse to boot anything other than An Officially Signed RHEL Kernel... What makes fscrypt different that we think we need to enforce this using technical means, other than a simple, "this feature is not supported"? - Ted