05c2679e95
Currently, all callers to randomize_range() set the length to 0 and calculate end by adding a constant to the start address. We can simplify the API to remove a bunch of needless checks and variables. Use the new randomize_addr(start, range) call to set the requested address. Link: http://lkml.kernel.org/r/20160803233913.32511-7-jason@lakedaemon.net Signed-off-by: Jason Cooper <jason@lakedaemon.net> Acked-by: Kees Cook <keescook@chromium.org> Cc: "Theodore Ts'o" <tytso@mit.edu> Cc: Guan Xuetao <gxt@mprc.pku.edu.cn> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
asm-offsets.c | ||
clock.c | ||
debug-macro.S | ||
debug.S | ||
dma.c | ||
early_printk.c | ||
elf.c | ||
entry.S | ||
fpu-ucf64.c | ||
gpio.c | ||
head.S | ||
hibernate.c | ||
hibernate_asm.S | ||
irq.c | ||
ksyms.c | ||
ksyms.h | ||
Makefile | ||
module.c | ||
pci.c | ||
pm.c | ||
process.c | ||
ptrace.c | ||
puv3-core.c | ||
puv3-nb0916.c | ||
setup.c | ||
setup.h | ||
signal.c | ||
sleep.S | ||
stacktrace.c | ||
sys.c | ||
time.c | ||
traps.c | ||
vmlinux.lds.S |