Yet another try for fs-verity
Yet another try for fs-verity
Posted Jun 4, 2019 2:43 UTC (Tue) by ebiggers (subscriber, #130760)In reply to: Yet another try for fs-verity by jhoblitt
Parent article: Yet another try for fs-verity
We're still planning to expose the verity bit through FS_IOC_GETFLAGS and possibly statx() too, just like the encrypt bit. So detecting verity files will still be straightforward; you don't need xattrs for this.
We aren't using the existing "immutable" bit because it already has specific semantics that include much more than just file contents immutability, e.g. it also prevents the file from being deleted, renamed, linked to, or have its owner or mode changed. So reusing the immutable bit to mean "fs-verity enabled" would not be appropriate.