[PATCH] LANDLOCK: use kmem_cache for landlock_object

Ayush Tiwari ayushtiw0110 at gmail.com
Fri Mar 29 02:14:42 UTC 2024


On Thu, Mar 28, 2024 at 09:39:14AM +0300, Dan Carpenter wrote:
> On Thu, Mar 28, 2024 at 04:55:57AM +0530, Ayush Tiwari wrote:
> > Use kmem_cache replace kzalloc() calls with kmem_cache_zalloc() for
> > struct landlock_object and update the related dependencies.
> > 
> > Signed-off-by: Ayush Tiwari <ayushtiw0110 at gmail.com>
> 
> Is there some advantage to doing this?  You need to re-write the commit
> message to give us some clue why you are doing this.
> 
> regards,
> dan carpenter
> 

Hello
Apologies for the errors. I am working on a newer version, instilling
all the corrections. Thanks for the feedback.




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