summaryrefslogtreecommitdiff
path: root/kernel/locking
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2020-06-26 13:34:25 -0700
committerThomas Gleixner <tglx@linutronix.de>2020-07-19 13:07:10 +0200
commit58ac3154b83938515129c20aa76d456a4c9202a8 (patch)
treeadac6d3468d6f2c269d2397871a5e36b3eed6d31 /kernel/locking
parentcadfad870154e14f745ec845708bc17d166065f2 (diff)
x86/entry: Actually disable stack protector
Some builds of GCC enable stack protector by default. Simply removing the arguments is not sufficient to disable stack protector, as the stack protector for those GCC builds must be explicitly disabled. Remove the argument removals and add -fno-stack-protector. Additionally include missed x32 argument updates, and adjust whitespace for readability. Fixes: 20355e5f73a7 ("x86/entry: Exclude low level entry code from sanitizing") Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lkml.kernel.org/r/202006261333.585319CA6B@keescook
Diffstat (limited to 'kernel/locking')
0 files changed, 0 insertions, 0 deletions