Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2847541ybv; Mon, 24 Feb 2020 12:51:09 -0800 (PST) X-Google-Smtp-Source: APXvYqzlnUZ5bBDhrTZoJh68ratUykhm/RPVRuENvhkl2baLhxc6/XCS+ujoX1kMOFkCmKgivmKJ X-Received: by 2002:a9d:7984:: with SMTP id h4mr42175985otm.297.1582577468771; Mon, 24 Feb 2020 12:51:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582577468; cv=none; d=google.com; s=arc-20160816; b=hb5PsK7yQ/vM8zb5R+XVTDcChBDngzJqntLxEEGI5/ekGnqMxBQsIsqmyMXyDVfPOX zCEZ8q4T5D7ex14SF5AO5dGeUNHNCNIU8IAgASvG49M3HLCdvr/jP4DBi35kdfU9Olw5 O0xPUEDN0Wgh5c4ZbMZFfFh7YdRSCNfLlDlHXOrdEe0dIPACxwoni3qsN2+UN6AQICar n28wtFYUdAgOIkucLYWYbfs9LejSHOw8Pw0jezKfTJHKqE6vfykU44xSTqy3By9/KmpM 8gu+Sk44o5lXI5OYSxkuUQb/6a5PfaVeAhpGAQ9OLd4Jeow7OQMYepg3f6gZpa7uYX4L GBVA== 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=6W+sNfj/1MTXjduMkepO88V8Uiy2/7erPQFFCUQqjE0=; b=KbdjQBFuIIjZedV/pvfuJSXa0ypS81U5/85CzUWzYXSxZeDZZsB3lPkQ5QNZOOucCx f7qlx8Sf5yUJICteEE9gP6BubyUD9+/x8aPn2ncZxebB86s7K33v7387tjyPJ696w8gt AJXgkIPeexHntYD0GXFP69rYWQkXOxyizAN59zwIrFNd3sh7n170L+fKUqpULp2UpMEj DULWyKDQhnZk8LrMHvT9wQg0Gx0JW9Mk51QzU9TFfcee0pKUEWwuaFcy3vJ3rk2XCAEZ 198pq72/U7KL2BFJTbAbb43MlbLkIEGt6Gz0Hk5KazswxKqmZWXaLI36W4qfOf/5mBAt zkDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="I9K9/4BB"; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g72si6072760oib.157.2020.02.24.12.50.54; Mon, 24 Feb 2020 12:51:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-ext4-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=@kernel.org header.s=default header.b="I9K9/4BB"; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727389AbgBXUuy (ORCPT + 99 others); Mon, 24 Feb 2020 15:50:54 -0500 Received: from mail.kernel.org ([198.145.29.99]:36942 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727249AbgBXUux (ORCPT ); Mon, 24 Feb 2020 15:50:53 -0500 Received: from gmail.com (unknown [104.132.1.77]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1FAF220726; Mon, 24 Feb 2020 20:50:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582577453; bh=3ws2XCyy6ILZso2oH4i/yzvd9uzvxwvQWJJv4TRuz70=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=I9K9/4BBR6t94BgsvQWvL0MElmPNMiRWdsQHvAkOcAoRolDDWAYFaRQbGHAX/th9Y RfGNU35wJz/tbi+gRRQcx+ddhCAfCvP4LZS2XAnCxT4tDvB3hZsUZzmiW3hP0rlS1M 0H4NWqJWja70WOgXrjABzy9YWTQImgBaVYFeNivo= Date: Mon, 24 Feb 2020 12:50:51 -0800 From: Eric Biggers To: mtk.manpages@gmail.com Cc: linux-man@vger.kernel.org, linux-fscrypt@vger.kernel.org, linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-fsdevel@vger.kernel.org Subject: Re: [man-pages PATCH v2] statx.2: document STATX_ATTR_VERITY Message-ID: <20200224205051.GE109047@gmail.com> References: <20200128192449.260550-1-ebiggers@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200128192449.260550-1-ebiggers@kernel.org> User-Agent: Mutt/1.12.2 (2019-09-21) Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Tue, Jan 28, 2020 at 11:24:49AM -0800, Eric Biggers wrote: > From: Eric Biggers > > Document the verity attribute for statx(), which was added in > Linux 5.5. > > For more context, see the fs-verity documentation: > https://www.kernel.org/doc/html/latest/filesystems/fsverity.html > > Signed-off-by: Eric Biggers > --- > man2/statx.2 | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/man2/statx.2 b/man2/statx.2 > index d2f1b07b8..d015ee73d 100644 > --- a/man2/statx.2 > +++ b/man2/statx.2 > @@ -461,6 +461,11 @@ See > .TP > .B STATX_ATTR_ENCRYPTED > A key is required for the file to be encrypted by the filesystem. > +.TP > +.B STATX_ATTR_VERITY > +Since Linux 5.5: the file has fs-verity enabled. It cannot be written to, and > +all reads from it will be verified against a cryptographic hash that covers the > +entire file, e.g. via a Merkle tree. > .SH RETURN VALUE > On success, zero is returned. > On error, \-1 is returned, and > -- > 2.25.0.341.g760bfbb309-goog > Ping? Michael, can you apply this man-pages patch? - Eric