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

From: Josh Poimboeuf
Date: Thu Jun 13 2019 - 21:13:17 EST


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(-)

--
2.20.1