linux_hardened: enforce usercopy whitelisting
The default is to warn only
This commit is contained in:
parent
cbc3afc655
commit
33615ccfa5
@ -78,6 +78,9 @@ ${optionalString (versionAtLeast version "4.13") ''
|
|||||||
|
|
||||||
# Perform usercopy bounds checking.
|
# Perform usercopy bounds checking.
|
||||||
HARDENED_USERCOPY y
|
HARDENED_USERCOPY y
|
||||||
|
${optionalString (versionAtLeast version "4.16") ''
|
||||||
|
HARDENED_USERCOPY_FALLBACK n
|
||||||
|
''}
|
||||||
|
|
||||||
# Randomize allocator freelists.
|
# Randomize allocator freelists.
|
||||||
SLAB_FREELIST_RANDOM y
|
SLAB_FREELIST_RANDOM y
|
||||||
|
Loading…
x
Reference in New Issue
Block a user