mirror of https://github.com/mkerrisk/man-pages
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:
parent
165bef47be
commit
ba2a520059
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue