Re: [PATCH] block: don't embed integrity_kobj into gendisk
From: Mirsad Goran Todorovac
Date: Thu Mar 09 2023 - 16:47:01 EST
On 09. 03. 2023. 22:23, Thomas Weißschuh wrote:
Very well, but who then destroys the cache crated here:
security/integrity/iint.c:177-179
> 177 iint_cache =
> 178 kmem_cache_create("iint_cache", sizeof(struct integrity_iint_cache),
> 179 0, SLAB_PANIC, init_once);
I assumed that it must have been done from iint.c because iint_cache is
static?
BTW, moving check for !ktype->release to kobject_init() is great for it
might make such problems noticed in dmesg, rather than taking screenshots.
Regards,
--
Mirsad Goran Todorovac
Sistem inženjer
Grafički fakultet | Akademija likovnih umjetnosti
Sveučilište u Zagrebu
System engineer
Faculty of Graphic Arts | Academy of Fine Arts
University of Zagreb, Republic of Croatia
The European Union