[PATCH v12 2/4] fs: add LSM-supporting anon-inode interface

Eric Biggers ebiggers at kernel.org
Fri Nov 6 17:46:47 UTC 2020


On Fri, Nov 06, 2020 at 07:56:24AM -0800, Lokesh Gidra wrote:
> +/**
> + * Like anon_inode_getfd(), but creates a new !S_PRIVATE anon inode rather than
> + * reuse the singleton anon inode, and call the anon_init_security_anon() LSM
> + * hook. This allows the inode to have its own security context and for a LSM

"call the anon_init_security_anon() LSM hook" =>
"calls the inode_init_security_anon() LSM hook".

Otherwise this patch looks okay.  Feel free to add:

Reviewed-by: Eric Biggers <ebiggers at google.com>

- Eric



More information about the Linux-security-module-archive mailing list