[PATCH v8 4/6] x86/entry: Enable random_kstack_offset support

Thomas Gleixner tglx at linutronix.de
Wed Mar 31 08:50:20 BST 2021


On Tue, Mar 30 2021 at 13:57, Kees Cook wrote:

> 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 at chromium.org>

Reviewed-by: Thomas Gleixner <tglx at linutronix.de>



More information about the linux-arm-kernel mailing list