Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1629637imu; Wed, 12 Dec 2018 01:15:59 -0800 (PST) X-Google-Smtp-Source: AFSGD/XS/l6jBObF1sfXIOGodgBxcqMMJQ6ZqlymS+F2MEJMp4Dqtey4wlvS05fbgo07L4uDc6Fs X-Received: by 2002:a62:6503:: with SMTP id z3mr18955791pfb.169.1544606159404; Wed, 12 Dec 2018 01:15:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544606159; cv=none; d=google.com; s=arc-20160816; b=CUs1BRkC7XGn7Q2b6NZFmM4tmulxAKAT6gyZDU8cFNpDgiBegrfqVPSHsLN+hL3VME 1x/KcXpu+Nhq4vFBN+DBaprwykhLPHQVMDk8y7bEbqUxd7cgDGcc3Q0l7uM3agJ6yQLp jQYLmeNOzWZ+xO9cleLEENhzCdAerNCop4xY07l2PNN/Z7oGa6PyzAQ1Tx6k8PV67AI8 EczSNdGdmctvjQDqklPRu9gK3beGQ6hDMMxH0w3HEu6Otaflq/y3Pfo3s7+HFvn09LuR pdaEPNGpDmQ8diVtW7jAaedBxOhyzKq790J3tDybv5u17rGf1C+lYZ0JGK+EsUiGZCZM 3wQQ== 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=cyvfG977++0v85COWokyHPWFctjF9dnRReeN8YCr/Eg=; b=Caib2iY/N3I3fDsUn6GKYLjiHIc88MBhBus1RGpa3ELPaKGowFBNvCtMQIH4DCHzb9 uc56lln84cexn3f9geDWXXEtrvZ/uc+OBElp5UIKpus1NSmGBooH8UZdgztzUx7U0XrL QqoCbO+mSmT/L76xUQz6/6B9Wbm5QkR7TFMpp8OJIsNNgkdioWvJ7ATg/IV1E/0kMPj3 GRGc5othudY9CEwuJnrFMr8326bGUs3L0pZE++k5iq3Q97Py/+Zm4FPdo/ftRuSV6ZON Zr3S6XTZz54Ms3G5oazTd5FNF5crruBtcut7yzCT77v9YyzrtjvgsoW03yMe7zD7gFDX gdSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=nlC+p7qh; 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 bj2si13900653plb.27.2018.12.12.01.15.42; Wed, 12 Dec 2018 01:15:59 -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=nlC+p7qh; 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 S1726825AbeLLJOJ (ORCPT + 99 others); Wed, 12 Dec 2018 04:14:09 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:35734 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726242AbeLLJOH (ORCPT ); Wed, 12 Dec 2018 04:14:07 -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=cyvfG977++0v85COWokyHPWFctjF9dnRReeN8YCr/Eg=; b=nlC+p7qhDd/wgENLWKBV/YFLj BRmgoZVWt9IGQkh70JwuWH9RplN1P5OTGFBn8sM6t7vnFdQmYmeCSCuZ26nJeoQ7aQUD7LTtPUs0x JSpn7b1LzgJczXb4foNgN19OXisDB6z1vObwsUdlbSAULegj7d5T/5Iqwv7sftHUpxuQZeQA65/RU pAbdjuTgzbcJlxPyMN483T83qxS7dm2OUTfo6njYmMozUhiLCh+tlSLVQfz2iQE6HjebWVZ2lG+5z 9YxFY5yHMMp+MLMZ2jUl7jbV0BSzLp5mgIhHV+Uz9G1Y93QhJzL1x1ajscMsymgaAb7a+dJedyxG9 9uf3IsPrA==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1gX0ak-00020g-NQ; Wed, 12 Dec 2018 09:14:06 +0000 Date: Wed, 12 Dec 2018 01:14:06 -0800 From: Christoph Hellwig To: Eric Biggers Cc: 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: <20181212091406.GA31723@infradead.org> References: <20181101225230.88058-1-ebiggers@kernel.org> <20181101225230.88058-2-ebiggers@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181101225230.88058-2-ebiggers@kernel.org> 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 As this apparently got merged despite no proper reviews from VFS level persons: NAK - the ioctl format that expects the verifycation hash in the file data data with padding after the real data is simply not acceptable, we can't just transform the data in the file itself based on a magic calls like this. Also the core code should not depend on this as a storage format, which is a rather bad idea. In any modern file system you can store data like this out of line in something like the attr fork in XFS, or the attr items in btrfs.