linux-hardened: Enable KFENCE
"Kernel Electric-Fence (KFENCE) is a low-overhead sampling-based memory safety error detector. KFENCE detects heap out-of-bounds access, use-after-free, and invalid-free errors."
This commit is contained in:
parent
a7d6642cf3
commit
bd2bb9e381
@ -91,4 +91,6 @@ assert (versionAtLeast version "4.9");
|
||||
CC_STACKPROTECTOR_REGULAR = whenOlder "4.18" no;
|
||||
CC_STACKPROTECTOR_STRONG = whenOlder "4.18" yes;
|
||||
|
||||
# Detect out-of-bound reads/writes and use-after-free
|
||||
KFENCE = whenAtLeast "5.12" yes;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user