]> git.baikalelectronics.ru Git - kernel.git/commit
x86/alternative: Report missing return thunk details
authorKees Cook <keescook@chromium.org>
Wed, 13 Jul 2022 21:38:19 +0000 (14:38 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Jul 2022 15:25:31 +0000 (17:25 +0200)
commit3e265a24254eb4c7830ac26764bb91f4fa6d2b7b
treecb58964a6af869f8aba1f64d3ce0a86a9c56b1b3
parentbd262a099061f6493be2f91e4e9b5d1f72c2b81b
x86/alternative: Report missing return thunk details

commit 27d13ec1e2cb4a2d2316a30860e4505376d15a03 upstream.

Debugging missing return thunks is easier if we can see where they're
happening.

Suggested-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/lkml/Ys66hwtFcGbYmoiZ@hirez.programming.kicks-ass.net/
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kernel/alternative.c