Skip to content

Commit 05fb5c0

Browse files
committed
Recommended_Settings: Add details about hash_pointers=always
Update slub_debug=FZ note. Closes: #8 Signed-off-by: Kees Cook <[email protected]>
1 parent 409a525 commit 05fb5c0

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Recommended_Settings.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,9 +443,14 @@ pti=on
443443
# To prevent against L1TF, at the cost of losing hyper threading (slow).
444444
nosmt
445445
446-
# Enable SLUB redzoning and sanity checking (slow; requires CONFIG_SLUB_DEBUG=y above).
446+
# Enable SLUB redzoning and sanity checking (`**`slow`**`; requires CONFIG_SLUB_DEBUG=y above).
447+
# From v5.14 through v6.16, this disables pointer hashing (see below). From v6.17 on, using
448+
# `hash_pointers=always` will avoid this.
447449
slub_debug=ZF
448450
451+
# Since v6.17, force exposed pointers to be hashed.
452+
hash_pointers=always
453+
449454
# (Before v5.3 without "init_on_free=1") Enable slub/slab allocator free poisoning (requires CONFIG_SLUB_DEBUG=y above).
450455
slub_debug=P
451456

0 commit comments

Comments
 (0)