Skip to content

module: Livepatch/ftrace fixes

Josh Poimboeuf live-patching lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3module: Fix livepatch/ftrace module text permissions racekernel/livepatch/core.c kernel/trace/ftrace.c+15 -16 replies
2/3module: Add text_mutex lockdep assertions for page attribute changeskernel/module.c+21 -62 replies
3/3module: Improve module __ro_after_init handlingarch/arm64/kernel/ftrace.c include/linux/module.h kernel/livepatch/core.c +1 more+12 -122 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchJessica YuPetr MladekMiroslav Benes
1/3A-b R-b R-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/3] module: Livepatch/ftrace fixes

Patch 1 fixes a module loading race between livepatch and ftrace.

Patch 2 adds lockdep assertions assocated with patch 1.

Patch 3 fixes a theoretical bug in the module __ro_after_init section handling.

Josh Poimboeuf (3):
module: Fix livepatch/ftrace module text permissions race
module: Add text_mutex lockdep assertions for page attribute changes
module: Improve module __ro_after_init handling

 arch/arm64/kernel/ftrace.c |  2 +-
 include/linux/module.h     |  4 ++--
 kernel/livepatch/core.c    | 10 ++++++++--
 kernel/module.c            | 29 ++++++++++++++++++++++-------
 kernel/trace/ftrace.c      | 10 +++++++++-
 5 files changed, 42 insertions(+), 13 deletions(-)
Signature · 1 line
2.20.1