statx.2: Document STATX_ATTR_VERITY

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 <ebiggers@google.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Eric Biggers 2020-01-28 11:24:49 -08:00 committed by Michael Kerrisk
parent 165bef47be
commit ba2a520059
1 changed files with 5 additions and 0 deletions

View File

@ -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