Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1738428ybl; Sun, 18 Aug 2019 09:23:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqy936HoIdIAbXGcymxMu4vopF6nmBVQSY51V8U6+lmAnF7CKKWnRiRTF0VJ/DISSwVUpsdU X-Received: by 2002:a17:902:fe06:: with SMTP id g6mr18655874plj.265.1566145397979; Sun, 18 Aug 2019 09:23:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566145397; cv=none; d=google.com; s=arc-20160816; b=DZdrsd1Zr9yuHgu27z+XjZ8DSsNZ07VdTZfdRvvNevK+20OCUNxYYYzmZ4LgK6D4E1 mFqpUezPJD9uJim+vJiTdHOM1qjAOQAmmG1ujI7IN9rcMFxuFvXEVdFhlUwzh5uCh322 nM+ha4yIwhfN0Wuh1t87/rDe0gSbNyN9BK4HBNJd4kVFHA8wwKmWmhSM88O08HyZg62T JH+rleTafJIiPpEfzH0aBbIF+gql79H7zCtz1WN0Ma+5X6Nn0kNPGutfmxG4DahZ3EqN IdU5w+D8m1qtMgNaTaKGQLl0HJqJEzMteIeNncjSzluOITPD7OfBQAmT0007Z7xrgcGP cO1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:to :from:date:dkim-signature; bh=N0aKd3kbobOVM+ja2qXPqQEy6PJXskjZ3fNW6CYKznA=; b=g8sfBeTyUOsHzjOYZS5Ygm7lrZfXoQcmnfvOVW3zlZExdiBewgLUlMXWPuX101jcmo klqMPy9y8CktnsdgzkQHEDn9P6pJRrOICpOA/jLCi5+0zbt7eig2dTa8m7QyfKOruBKS 1OPlrq5POjjq5cimrc7q02ekE7mdbld7Azf++UEDDzwkTR8HjnobawbVQBxYu3a0jCKL W7gw0gk4PyzeCQjB0SnWacR1ADe+70237HB0Q6i/nTO52LmcJ5H4ucJLf7Tz8qPxT2w5 oeiXFIiL5IBM7aV6acQjeRIJe/9Jd3MYtNFTViPve1qBiLGChnyc9CAT5gb+suDIBrvG dSwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=LM+w7i3N; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o33si7970689pgb.381.2019.08.18.09.23.03; Sun, 18 Aug 2019 09:23:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=LM+w7i3N; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726812AbfHRQWR (ORCPT + 99 others); Sun, 18 Aug 2019 12:22:17 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:35550 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726115AbfHRQWQ (ORCPT ); Sun, 18 Aug 2019 12:22:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=N0aKd3kbobOVM+ja2qXPqQEy6PJXskjZ3fNW6CYKznA=; b=LM+w7i3N+Q7emAXcFs7q/xvtc LwYBK72c0UsD7+mZtVDq2ehkyG8sRdB/QM4oWWhXa7TvYK4mNCXln2gua/Hr0suUTXsMyHjeABY4B LfiObpOBKlFJIUXS5IcHU0+lAfxM9IFPNXLfwQjCjurgwPar/NOd7sJsEnxmJpZoy2nj1QMUCxgkE hibZO4GddXdRUF+BvG5lHCrttPsXkdjjbdBA4RSbWYLE5JJ8vHitpoCCKzfp2k6sZ4KOGLjyF29zh OtL1O2BwpaLQGyhTKkFrbt4yyOfDRQOTEqdXKt22YCxIxcuJJl7M6aoMf9gW9nxwtL3eY9xOl0rKO lyHSgKIYQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.92 #3 (Red Hat Linux)) id 1hzNwP-0005So-3L; Sun, 18 Aug 2019 16:22:01 +0000 Date: Sun, 18 Aug 2019 09:22:01 -0700 From: Christoph Hellwig To: Christoph Hellwig , "Theodore Y. Ts'o" , Richard Weinberger , Greg Kroah-Hartman , Gao Xiang , Jan Kara , Chao Yu , Dave Chinner , David Sterba , Miao Xie , devel , Stephen Rothwell , Darrick , Amir Goldstein , linux-erofs , Al Viro , Jaegeuk Kim , linux-kernel , Li Guifu , Fang Wei , Pavel Machek , linux-fsdevel , Andrew Morton , torvalds Subject: Re: [PATCH] erofs: move erofs out of staging Message-ID: <20190818162201.GA16269@infradead.org> References: <1163995781.68824.1566084358245.JavaMail.zimbra@nod.at> <20190817233843.GA16991@hsiangkao-HP-ZHAN-66-Pro-G1> <1405781266.69008.1566116210649.JavaMail.zimbra@nod.at> <20190818084521.GA17909@hsiangkao-HP-ZHAN-66-Pro-G1> <1133002215.69049.1566119033047.JavaMail.zimbra@nod.at> <20190818090949.GA30276@kroah.com> <790210571.69061.1566120073465.JavaMail.zimbra@nod.at> <20190818151154.GA32157@mit.edu> <20190818155812.GB13230@infradead.org> <20190818161638.GE1118@sol.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190818161638.GE1118@sol.localdomain> User-Agent: Mutt/1.11.4 (2019-03-13) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Aug 18, 2019 at 09:16:38AM -0700, Eric Biggers wrote: > Ted's observation was about maliciously-crafted filesystems, though, so > integrity-only features such as metadata checksums are irrelevant. Also the > filesystem version is irrelevant; anything accepted by the kernel code (even if I think allowing users to mount file systems (any of ours) without privilege is a rather bad idea. But that doesn't mean we should not be as robust as we can. Optionally disabling support for legacy formats at compile and/or runtime is something we should actively look into as well. > it's legacy/deprecated) is open attack surface. > > I personally consider it *mandatory* that we deal with this stuff. But I can > understand that we don't do a good job at it, so we shouldn't hold a new > filesystem to an unfairly high standard relative to other filesystems... I very much disagree. We can't really force anyone to fix up old file systems. But we can very much hold new ones to (slightly) higher standards. Thats the only way to get the average quality up. Some as for things like code style - we can't magically fix up all old stuff, but we can and usually do hold new code to higher standards. (Often not to standards as high as I'd personally prefer, btw).