From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Biggers Subject: [man-pages RFC PATCH] statx.2: document STATX_ATTR_VERITY Date: Thu, 7 Nov 2019 14:02:48 -0800 Message-ID: <20191107220248.32025-1-ebiggers@kernel.org> References: <20191107014420.GD15212@magnolia> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20191107014420.GD15212@magnolia> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net To: linux-man@vger.kernel.org Cc: tytso@mit.edu, darrick.wong@oracle.com, linux-api@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, dhowells@redhat.com, linux-fscrypt@vger.kernel.org, linux-fsdevel@vger.kernel.org, jaegeuk@kernel.org, linux-ext4@vger.kernel.org, victorhsieh@google.com List-Id: linux-api@vger.kernel.org From: Eric Biggers Document the verity attribute for statx(). Signed-off-by: Eric Biggers --- man2/statx.2 | 4 ++++ 1 file changed, 4 insertions(+) RFC since the kernel patches are currently under review. The kernel patches can be found here: https://lkml.kernel.org/linux-fscrypt/20191029204141.145309-1-ebiggers@kernel.org/T/#u diff --git a/man2/statx.2 b/man2/statx.2 index d2f1b07b8..713bd1260 100644 --- a/man2/statx.2 +++ b/man2/statx.2 @@ -461,6 +461,10 @@ See .TP .B STATX_ATTR_ENCRYPTED A key is required for the file to be encrypted by the filesystem. +.TP +.B STATX_ATTR_VERITY +The file has fs-verity enabled. It cannot be written to, and all reads from it +will be verified against a Merkle tree. .SH RETURN VALUE On success, zero is returned. On error, \-1 is returned, and -- 2.24.0.rc1.363.gb1bccd3e3d-goog