On Thu, Jun 06, 2019 at 08:52:02AM -0700, Eric Biggers wrote: > From: Eric Biggers <ebiggers@xxxxxxxxxx> > > To meet some users' needs, add optional support for having fs-verity > handle a portion of the authentication policy in the kernel. An > ".fs-verity" keyring is created to which X.509 certificates can be > added; then a sysctl 'fs.verity.require_signatures' can be set to cause > the kernel to enforce that all fs-verity files contain a signature of > their file measurement by a key in this keyring. I think it might be a good idea to allow the require_signatures setting to be set on a per-file system basis, via a mount option? We could plumb it in via a flag in fsverity_info, set by the file system. Other than this feature request, looks good; you can add: Reviewed-off-by: Theodore Ts'o <tytso@xxxxxxx> - Ted