Revert "Remove the optional slub_debug parameter since it is no longer recommended"

This reverts commit 48e1ac4163.
This commit is contained in:
Raja Grewal 2024-08-03 14:49:48 +10:00
parent de6f3ea74a
commit b77d1a2b98
No known key found for this signature in database
GPG key ID: 92CA473C156B64C4
2 changed files with 12 additions and 0 deletions

View file

@ -118,6 +118,9 @@ configuration file.
- Disable merging of slabs with similar size, which reduces the risk of
triggering heap overflows and limits influencing slab cache layout.
- Provides option to enable sanity checks and red zoning via slab debugging.
Not reccommened due to implicit disabling of kernel pointer hashing.
- Enable memory zeroing at both allocation and free time, which mitigates some
use-after-free vulnerabilities by erasing sensitive information in memory.