diff options
author | Kees Cook <[email protected]> | 2013-10-10 17:18:16 -0700 |
---|---|---|
committer | H. Peter Anvin <[email protected]> | 2013-10-13 03:12:19 -0700 |
commit | 82fa9637a2ba285bcc7c5050c73010b2c1b3d803 (patch) | |
tree | f9a1ba0cd4670beaa0f5b146a979d9dda0165f1c /tools/perf/util/trace-event-scripting.c | |
parent | 5bfce5ef55cbe78ee2ee6e97f2e26a8a582008f3 (diff) |
x86, kaslr: Select random position from e820 maps
Counts available alignment positions across all e820 maps, and chooses
one randomly for the new kernel base address, making sure not to collide
with unsafe memory areas.
Signed-off-by: Kees Cook <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: H. Peter Anvin <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions