diff options
author | Vlastimil Babka <vbabka@suse.cz> | 2025-09-15 15:55:09 +0200 |
---|---|---|
committer | Vlastimil Babka <vbabka@suse.cz> | 2025-09-15 16:10:10 +0200 |
commit | 86169b00f89633e255048feb5dde438dd3522fd4 (patch) | |
tree | 38a15e741c41cc83632aea7ce924ad3e26079960 /security/selinux/hooks.c | |
parent | f4930de03dcf4a3f2515546f5b3c04bac016685d (diff) |
slab: wrap debug slab validation in validate_slab_ptr()
This will make it clear where we currently cast struct slab to folio
only to check the slab type, and allow to change the implementation
later with memdesc conversion.
For now use a struct page based implementation instead of struct folio
to be compatible with further upcoming changes.
Reviewed-by: Harry Yoo <harry.yoo@oracle.com>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions