]> www.infradead.org Git - users/dwmw2/linux.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:19:27 +0000 (17:19 +0200)
commitc0a3a9eb262a5e86a36fd5fc4f9fc38470713f13
treedb3c0176b0571ae1015c6ddf37b5301b79569ed0
parentb7b9e5cc8b24d6c800b2b7f8bba44c5914bd6c8f
x86/alternative: Report missing return thunk details

commit 65cdf0d623bedf0e069bb64ed52e8bb20105e2ba 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