Re: [PATCH v1 0/2] Add destructor hook to LSM modules

From: Andy Shevchenko
Date: Fri Mar 10 2023 - 14:46:43 EST


On Fri, Mar 10, 2023 at 08:26:14PM +0100, Mirsad Goran Todorovac wrote:
>
> LSM security/integrity/iint.c had the case of kmem_cache_create() w/o a proper
> kmem_cache_destroy() destructor.
>
> Introducing the release() hook would enable LSMs to release allocated resources
> on exit, and in proper order, rather than dying all together with kernel shutdown
> in an undefined order.

Your patches are sent as separate emails. Have you forgotten to add --thread
to `git format-patch`?

--
With Best Regards,
Andy Shevchenko