Limit randomization of structure layout to cache-lines
configname: CONFIG_RANDSTRUCT_PERFORMANCE
Randomize layout of sensitive kernel structures
└─>Limit randomization of structure layout to cache-lines
In linux kernel since version 5.2 (release Date: 2019-07-07)
Randomization of sensitive kernel structures will make a
best effort at restricting randomization to cacheline-sized
groups of members. It will further not randomize bitfields
in structures. This reduces the performance hit of RANDSTRUCT
at the cost of weakened randomization.
best effort at restricting randomization to cacheline-sized
groups of members. It will further not randomize bitfields
in structures. This reduces the performance hit of RANDSTRUCT
at the cost of weakened randomization.