summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/lkdtm
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2021-04-01 16:23:45 -0700
committerThomas Gleixner <tglx@linutronix.de>2021-04-08 14:05:20 +0200
commitfe950f6020338c8ac668ef823bb692d36b7542a2 (patch)
tree5bc68b8faf68e62c10d31dd7cc121e4d7fcf8dd2 /tools/testing/selftests/lkdtm
parent39218ff4c625dbf2e68224024fe0acaa60bcd51a (diff)
downloadlinux-next-fe950f6020338c8ac668ef823bb692d36b7542a2.tar.gz
x86/entry: Enable random_kstack_offset support
Allow for a randomized stack offset on a per-syscall basis, with roughly 5-6 bits of entropy, depending on compiler and word size. Since the method of offsetting uses macros, this cannot live in the common entry code (the stack offset needs to be retained for the life of the syscall, which means it needs to happen at the actual entry point). Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20210401232347.2791257-5-keescook@chromium.org
Diffstat (limited to 'tools/testing/selftests/lkdtm')
0 files changed, 0 insertions, 0 deletions