All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Biggers <ebiggers@kernel.org>
To: linux-ext4@vger.kernel.org
Subject: [PATCH 1/6] chattr.1: document the verity attribute
Date: Sun, 17 Nov 2019 17:48:47 -0800	[thread overview]
Message-ID: <20191118014852.390686-2-ebiggers@kernel.org> (raw)
In-Reply-To: <20191118014852.390686-1-ebiggers@kernel.org>

From: Eric Biggers <ebiggers@google.com>

Document the verity file attribute ('V').

Signed-off-by: Eric Biggers <ebiggers@google.com>
---
 misc/chattr.1.in | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/misc/chattr.1.in b/misc/chattr.1.in
index 1c9e8964..2122a13e 100644
--- a/misc/chattr.1.in
+++ b/misc/chattr.1.in
@@ -52,7 +52,8 @@ The following attributes are read-only, and may be listed by
 but not modified by chattr:
 encrypted (E),
 indexed directory (I),
-and inline data (N).
+inline data (N),
+and verity (V).
 .PP
 Not all flags are supported or utilized by all filesystems; refer to
 filesystem-specific man pages such as
@@ -189,6 +190,15 @@ saved.  This allows the user to ask for its undeletion.  Note: please
 make sure to read the bugs and limitations section at the end of this
 document.
 .PP
+A file with the 'V' attribute set has fs-verity enabled.  It cannot be
+written to, and the filesystem will automatically verify all data read
+from it against a cryptographic hash that covers the entire file's
+contents, e.g. via a Merkle tree.  This makes it possible to efficiently
+authenticate the file.  This attribute may not be set or reset using
+.BR chattr (1),
+although it can be displayed by
+.BR lsattr (1).
+.PP
 .SH AUTHOR
 .B chattr
 was written by Remy Card <Remy.Card@linux.org>.  It is currently being
-- 
2.24.0


  reply	other threads:[~2019-11-18  1:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-18  1:48 [e2fsprogs PATCH 0/6] chattr.1 updates Eric Biggers
2019-11-18  1:48 ` Eric Biggers [this message]
2019-11-18  1:48 ` [PATCH 2/6] chattr.1: adjust documentation for encryption attribute Eric Biggers
2019-11-18  1:48 ` [PATCH 3/6] chattr.1: add casefold attribute to mode string Eric Biggers
2019-11-18  1:48 ` [PATCH 4/6] chattr.1: fix some grammatical errors Eric Biggers
2019-11-18  1:48 ` [PATCH 5/6] chattr.1: clarify that ext4 doesn't support tail-merging either Eric Biggers
2019-11-18  1:48 ` [PATCH 6/6] chattr.1: say "cleared" instead of "reset" Eric Biggers
2019-11-18 17:20 ` [e2fsprogs PATCH 0/6] chattr.1 updates Theodore Y. Ts'o

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191118014852.390686-2-ebiggers@kernel.org \
    --to=ebiggers@kernel.org \
    --cc=linux-ext4@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.