Re: [PATCH v12 2/4] fs: add LSM-supporting anon-inode interface
From: Eric Biggers
Date: Fri Nov 06 2020 - 12:46:52 EST
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@xxxxxxxxxx>
- Eric