[PATCH 01/38] fs: add FS_XFLAG_VERITY for verity files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


From: Andrey Albershteyn <aalbersh@xxxxxxxxxx>

Add extended attribute FS_XFLAG_VERITY for inodes with fs-verity

Signed-off-by: Andrey Albershteyn <aalbersh@xxxxxxxxxx>
[djwong: fix broken verity flag checks]
Reviewed-by: Darrick J. Wong <djwong@xxxxxxxxxx>
Signed-off-by: Darrick J. Wong <djwong@xxxxxxxxxx>
 include/linux.h |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/linux.h b/include/linux.h
index 95a0deee2594..d98d387e88b0 100644
--- a/include/linux.h
+++ b/include/linux.h
@@ -249,6 +249,10 @@ struct fsxattr {
 #define FS_XFLAG_COWEXTSIZE	0x00010000	/* CoW extent size allocator hint */
+#define FS_XFLAG_VERITY		0x00020000	/* fs-verity enabled */
  * Reminder: anything added to this file will be compiled into downstream
  * userspace projects!

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux