]> git.ipfire.org Git - thirdparty/linux.git/commit
ima_fs: get rid of lookup-by-dentry stuff
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 10 Mar 2025 16:30:20 +0000 (12:30 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 17 Jun 2025 22:10:14 +0000 (18:10 -0400)
commitd15ffbbf4d32a9007c4a339a9fecac90ce30432a
treef34fb426f0e951c4866782194bd0eaf4ee5d50cc
parent22260a99d791163f7697a240dfc48e4e5a91ecfe
ima_fs: get rid of lookup-by-dentry stuff

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

Acked-by: Mimi Zohar <zohar@linux.ibm.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
security/integrity/ima/ima_fs.c