Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1284582imu; Thu, 13 Dec 2018 12:24:18 -0800 (PST) X-Google-Smtp-Source: AFSGD/U/6l4onSaSm4mk8jfA4dHb5WtzvEOWL2FApfF93BVHtyY79ATeCb3qCkCNxE2eQe1F6SJi X-Received: by 2002:a63:d104:: with SMTP id k4mr202851pgg.227.1544732658431; Thu, 13 Dec 2018 12:24:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544732658; cv=none; d=google.com; s=arc-20160816; b=tBFrl2zPnMi39hE4WCjk944pyKIzbhYCeiOWrDr50lqLuSN9JA6CTp/D1aBq0b6uTv B5NROiP/fWnPwB5hKIpaSUH4tR90mTeMN3mOQWGkaFmKp6j2b364SeWVbZ9eeIiN03NX MBM3cwfT0C2BZF4+4lE5KFtzKiZYbSkaXMSaZ8/Rw+6ppuuE8VrpdH6xvUgrpmQmlKjq WRsGgI4xYxZGEsukaBM8y5wEKRhnT2dzN7RvWtLQVprRA0w+ZtYyYmxOmR/V84nuQR4T oaVKTFHJ3TIntRb1X+Df2j3ffnPM63l5nsekNHHy0UDRjx1vYL5NGWpyfnJ9h2jmPId1 mz0w== 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=lATmiD54zaGiCNJvHMHCxwMrMhP+1Ph5WForTo8SHb0=; b=EVLgC/bncFNN6dtWtg6kQ57XqHs8bZm/bI1qwNahibr5EXNODRFXocfia7SJVecjhX 5Uk8+XA9JgGgN6pzM80aphTLTbz7iQMBm1ItYg9L6TUuAo54JA6/yAa9aU0GyMmYbz92 8dDOEp3fONaRf8dsfR5adTVlfWjtkDv3Jsdo3ZcN9+8X3bVbAXc+KimdqybO3xAV/Ww8 3kGM2FmsZOhrjGhzUv8QGBZDs0r5oy4HR3UALeD4n1q3vtSXRvekWLVaqfLFLSTw8N20 v0kJfulYVLJI3eDkcsq0a5kUPj49QIOSrc4XjodL3z9e7kWGRdE0BrLarnLCxflpb5eM dCEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=mqBP98E7; 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 h75si2339754pfj.257.2018.12.13.12.24.03; Thu, 13 Dec 2018 12:24:18 -0800 (PST) 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=mqBP98E7; 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 S1728514AbeLMUWu (ORCPT + 99 others); Thu, 13 Dec 2018 15:22:50 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:53152 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726408AbeLMUWu (ORCPT ); Thu, 13 Dec 2018 15:22:50 -0500 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:Cc:To:From:Date:Sender:Reply-To: 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=lATmiD54zaGiCNJvHMHCxwMrMhP+1Ph5WForTo8SHb0=; b=mqBP98E7LiLv/9XyBtIGaO0R5 xbSHbhTFGaRbXgOLIgrnTC+rD2zoNGE0usX9M+NZo4CHNRJP/WVeBV13QuK94WxNVeqqIO/qOEArQ rySS9qDtRVLWecThsIEi6vFmCr10uaj5eUH9/R5NttBEUfGMpvAw9+QZRnPDUrzYpx6x26wSP2oWw naD9/PeT5A910EzPgpmbEYPcK2pvPhNzS9IOE80TaNcthWuwBHsuw7hLC1yjrH8m5aS53eeOvGUj4 C63UzVRMXQJe17FzYE8Mj8kCNKbqxtEtM6wLEinApCrgYOTNoRJK9r12d4nnlDd3Zg3qdUjWFRC6R n0DvJhwiQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1gXXVR-0002kx-CF; Thu, 13 Dec 2018 20:22:49 +0000 Date: Thu, 13 Dec 2018 12:22:49 -0800 From: Christoph Hellwig To: Eric Biggers Cc: Christoph Hellwig , linux-fscrypt@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org, "Theodore Y . Ts'o" , Jaegeuk Kim , Victor Hsieh , Chandan Rajendra , Linus Torvalds Subject: Re: [PATCH v2 01/12] fs-verity: add a documentation file Message-ID: <20181213202249.GA3797@infradead.org> References: <20181101225230.88058-1-ebiggers@kernel.org> <20181101225230.88058-2-ebiggers@kernel.org> <20181212091406.GA31723@infradead.org> <20181212202609.GA193967@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181212202609.GA193967@gmail.com> User-Agent: Mutt/1.9.2 (2017-12-15) 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 Wed, Dec 12, 2018 at 12:26:10PM -0800, Eric Biggers wrote: > > As this apparently got merged despite no proper reviews from VFS > > level persons: > > fs-verity has been out for review since August, and Cc'ed to all relevant > mailing lists including linux-fsdevel, linux-ext4, linux-f2fs-devel, > linux-fscrypt, linux-integrity, and linux-kernel. There are tests, > documentation (since v2), and a userspace tool. It's also been presented at > multiple conferences, and has been covered by LWN multiple times. If more > people want to review it, then they should do so; there's nothing stopping them. But you did not got a review from someone like Al, Linus, Andrew or me, did you? > Can you elaborate on the actual problems you think the current solution has, and > exactly what solution you'd prefer instead? Keep in mind that (1) for large > files the Merkle tree can be gigabytes long, (2) Linux doesn't have an API for > file streams, and (3) when fs-verity is combined with fscrypt, it's important > that the hashes be encrypted, so as to not leak information about the plaintext. Given that you alread use an ioctl as the interface what is the problem of passing this data through the ioctl?