[PATCH v1 0/2] Add destructor hook to LSM modules
Andy Shevchenko
andriy.shevchenko at linux.intel.com
Fri Mar 10 19:46:32 UTC 2023
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
More information about the Linux-security-module-archive
mailing list