[PATCH v3 2/2] vfs: avoid duplicating creds in faccessat if possible

Al Viro viro at zeniv.linux.org.uk
Thu Mar 2 18:43:39 UTC 2023


On Thu, Mar 02, 2023 at 07:22:17PM +0100, Mateusz Guzik wrote:

> Ops, I meant "names_cache", here:
> 	names_cachep = kmem_cache_create_usercopy("names_cache", PATH_MAX, 0,
> 			SLAB_HWCACHE_ALIGN|SLAB_PANIC, 0, PATH_MAX, NULL);
> 
> it is fs/dcache.c and I brainfarted into the above.

So you mean __getname() stuff?



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