Thread (18 messages) 18 messages, 4 authors, 2019-11-13
STALE2412d

[man-pages RFC PATCH] statx.2: document STATX_ATTR_VERITY

From: Eric Biggers <ebiggers@kernel.org>
Date: 2019-11-07 22:05:40
Also in: linux-api, linux-f2fs-devel, linux-fscrypt, linux-fsdevel, linux-man
Subsystem: the rest · Maintainer: Linus Torvalds

From: Eric Biggers <redacted>

Document the verity attribute for statx().

Signed-off-by: Eric Biggers <redacted>
---
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help