hardened-config: additional refcount checking
This commit is contained in:
parent
a0a8f0ac87
commit
edd0d2f2e9
1 changed files with 4 additions and 0 deletions
|
@ -68,6 +68,10 @@ DEBUG_SG y
|
|||
SCHED_STACK_END_CHECK y
|
||||
BUG_ON_DATA_CORRUPTION y
|
||||
|
||||
${optionalString (versionAtLeast version "4.13") ''
|
||||
REFCOUNT_FULL y
|
||||
''}
|
||||
|
||||
# Perform usercopy bounds checking.
|
||||
HARDENED_USERCOPY y
|
||||
|
||||
|
|
Loading…
Reference in a new issue