Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1748752ybl; Sun, 18 Aug 2019 09:36:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqy7RH7qwjGqkA0F84cJ9Te0iWM8axAhFL4n+Bgmg/Qm9r/r9q7v8frYOKxt/VWLdABwpGw3 X-Received: by 2002:a17:90a:d149:: with SMTP id t9mr16085321pjw.58.1566146172044; Sun, 18 Aug 2019 09:36:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566146172; cv=none; d=google.com; s=arc-20160816; b=LknNaYgjJ8wzekfkt7XKnWVbQJ9H4J/IYglEOnpoJy6yeIE/msmZ7NVzTQujMv6J2c pxfnoQ6LEPlodFzPBqWUVbiYoXgf5HzJi/1VZWZuldGg/G3AkwcB+DhAkv9Eu1WDU2GD Y7MLHMVM/g5lg72a17yDIIKsPsqQ2lCH0f7cNi92r5wYyQPxtfcQWwDxbxqqa6t96qAN g9ILVPETmFE7g3tkqf+9b4BHEwTupAdw7egeg1FVy3IJxGKNy/xBiKHzzAwsc0upI1Vy TIOujroYS5gJ1Vpax7J89/BEZiz5lye9BaF36rj4hBlj2pNDyOPytUe2I8G4m+F99rjW SGDg== 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:cc :to:from:date:dkim-signature; bh=jLjIB1S1BZc9ke0Rkvt8JkIdY+FmHiPvR7jQ8rfSgEE=; b=kdtV8qXrkBGGlskCsGFmJKhgbqt+Sg/S+bx1S182bsRKnrNwSW2Pc3SN/HhIcRDul2 gwNZenw9yqNXBod1D+GpMmRQDKeACdMpnnZX1C0qi78dmAmKPelk3s4u6A8dqelkbpX5 7rcicxuAofAXu5sG942NIUQEy8ZTL5Sy7gU3llx7Ny3LYL/pnBiprtRrmQE2fViqUZSX KZNY7OBefPBk7auH5NdsmeVhqNSTk+gzFpllhOs1YAWRKt15no/PGV4QPRVZiujKVS2a xsNTHMxmVJ/jJUihLGOXhGVN8W34MdjeBoHRlIm0p1N+VDuuXU1XPXl6/mLImTLnWX1R qSOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@aol.com header.s=a2048 header.b=NxqzZzhe; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=aol.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cm7si1283723pjb.15.2019.08.18.09.35.56; Sun, 18 Aug 2019 09:36:11 -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=pass header.i=@aol.com header.s=a2048 header.b=NxqzZzhe; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=aol.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726872AbfHRQdr (ORCPT + 99 others); Sun, 18 Aug 2019 12:33:47 -0400 Received: from sonic303-24.consmr.mail.gq1.yahoo.com ([98.137.64.205]:41171 "EHLO sonic303-24.consmr.mail.gq1.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726089AbfHRQdr (ORCPT ); Sun, 18 Aug 2019 12:33:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1566146026; bh=jLjIB1S1BZc9ke0Rkvt8JkIdY+FmHiPvR7jQ8rfSgEE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject; b=NxqzZzhe7/JrNtnNZNJLaUbycF529RdNjPWh1BQiyz6fCUudGyp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Gy.G6Hlxwx8xG.vYXOehcgQ07crl0NkV482x4lvYr0UwV DXV15jw.qFd1bI0S3PU9YUDPCkSOaLXxe4mNMp8yTGt5onmMnF_orOQIf5Leeq1bRchdgkW5Fv0X 9TmfTBbyX43_7PZ1o7wFQjd9yTd1q0gkDKn51ByOr3SkfQGTou.G0TiwzyDoo5wNgLUWKZ_tDly. LYi6e7pN0esbspnff_6NztTIrvfvYcf0AqDM0MZwzfwlT4Sfw9axs2jUlOa6h.1.qkK0r0N2OadB 4GFx_V56CGiJ0cjBD65w3h4JBAnkX0AtRyeE.ZTRQyceUJPbiNymMol7BlIQ.d5qS8ZTKu0PsYc2 xjTyDu9xOQ50GxWmQBX2AM5JSjkDc2e60a3V5WL4rCChuHgNKKDGh8RdDSvz3YZIHJ5ITVXUwLCf iFvzDsgvgSAK_f3bUCIZ1NG.rrTuEu9N77bIO0Jfa_JH9d40.IbhtzlTrL6jSYDIG02q4gj2CanO YIbhsbWL9iyMS9562htwREDtPHpbW5KDp8UPWERA- Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.gq1.yahoo.com with HTTP; Sun, 18 Aug 2019 16:33:46 +0000 Received: by smtp425.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID fa33da4732240156c1a7911764ba7d16; Sun, 18 Aug 2019 16:33:41 +0000 (UTC) Date: Mon, 19 Aug 2019 00:33:25 +0800 From: Gao Xiang To: Christoph Hellwig Cc: "Theodore Y. Ts'o" , Richard Weinberger , Greg Kroah-Hartman , 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: <20190818163318.GB31588@hsiangkao-HP-ZHAN-66-Pro-G1> References: <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> <20190818162201.GA16269@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190818162201.GA16269@infradead.org> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Hch, On Sun, Aug 18, 2019 at 09:22:01AM -0700, Christoph Hellwig wrote: > 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). I personally don't want to discuss about other fses here... I think XFS developers do great jobs all the time and EROFS is a simple file system compared with these generic file systems. I can promise you that our team will fix bug reports in time, and I personally think the current EROFS code is not as bad as a bullsh**t... If you have some time, I'm very happy if you can take some of your precious time on our work... Thanks, Gao Xiang