[PATCH 07/10] ima_fs: get rid of lookup-by-dentry stuff

Mimi Zohar zohar at linux.ibm.com
Tue Jun 17 18:42:49 UTC 2025


On Thu, 2025-06-12 at 04:11 +0100, Al Viro wrote:
> lookup_template_data_hash_algo() machinery is used to locate the
> matching ima_algo_array[] element at read time; securityfs
> allows to stash that into inode->i_private at object creation
> time, so there's no need to bother
> 
> Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>

Really nice clean up.

thanks,

Acked-by: Mimi Zohar <zohar at linux.ibm.com>





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