lkml.org 
[lkml]   [2018]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v4 0/3] jump_label: Robustify jump label patching
Date
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

\
 
 \ /
  Last update: 2018-02-20 18:39    [W:0.053 / U:0.728 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site