linux/hardened: condition DEBUG_CREDENTIALS to whenOlder than 6.6
Removed on 6.6.8 commit 207f135d819344c03333246f784f6666e652e081 Author: Jens Axboe <axboe@kernel.dk> Date: Fri Dec 15 13:40:57 2023 -0700 cred: get rid of CONFIG_DEBUG_CREDENTIALS commit ae1914174a63a558113e80d24ccac2773f9f7b2b upstream. This code is rarely (never?) enabled by distros, and it hasn't caught anything in decades. Let's kill off this legacy debug code. https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.8
This commit is contained in:
parent
5de6afea81
commit
f356845672
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ assert (versionAtLeast version "4.9");
|
|||
STRICT_KERNEL_RWX = yes;
|
||||
|
||||
# Perform additional validation of commonly targeted structures.
|
||||
DEBUG_CREDENTIALS = yes;
|
||||
DEBUG_CREDENTIALS = whenOlder "6.6" yes;
|
||||
DEBUG_NOTIFIERS = yes;
|
||||
DEBUG_PI_LIST = whenOlder "5.2" yes; # doesn't BUG()
|
||||
DEBUG_PLIST = whenAtLeast "5.2" yes;
|
||||
|
|
Loading…
Reference in a new issue