[PATCH v4 0/3] jump_label: Robustify jump label patching

From: Josh Poimboeuf
Date: Tue Feb 20 2018 - 12:38:48 EST


v4:
- Fix CONFIG_MODULES=n build by moving jump_label_invalidate_init()
outside of the CONFIG_MODULES ifdef guard (reported by 0-day bot)

v3:
- Make init_kernel_text() global
- Use braces in multi-line 'for' statements

v2:
- Refine the warning so that it doesn't warn about __init entries
- (Do so by explicitly disabling __init entries)
- Drop v1 patches which removed __init tracepoints


Josh Poimboeuf (3):
jump_label: Explicitly disable jump labels in __init code
jump_label: Warn on failed jump_label patch
extable: Make init_kernel_text() global

arch/x86/kernel/unwind_orc.c | 3 +--
include/linux/jump_label.h | 3 +++
include/linux/kernel.h | 1 +
init/main.c | 2 ++
kernel/extable.c | 2 +-
kernel/jump_label.c | 27 ++++++++++++++++++++++-----
6 files changed, 30 insertions(+), 8 deletions(-)

--
2.14.3