[GIT PULL] livepatching for 5.8
From: Jiri Kosina
Date: Wed Jun 03 2020 - 16:42:20 EST
Linus,
please pull from
git://git.kernel.org/pub/scm/linux/kernel/git/livepatching/livepatching.git for-linus
to receive livepatching subsystem updates for 5.8.
You are going to get a minor conflict with modules tree; the correct
resolution is documented at
http://lore.kernel.org/r/20200508180524.6995b07e@xxxxxxxxxxxxxxxx
Alternatively, I can just prepare a branch for you to pull with the
conflict resolved.
Thanks.
=====
- simplifications and improvements for issues Peter Ziljstra found during
his previous work on W^X cleanups. This allows us to remove livepatch
arch-specific .klp.arch sections and add proper support for jump labels
in patched code. Also, this patchset removes the last
module_disable_ro() usage in the tree. Patches from Josh Poimboeuf and
Peter Zijlstra
- a few other minor cleanups
=====
----------------------------------------------------------------
Jiri Kosina (1):
livepatch: add arch-specific headers to MAINTAINERS
Josh Poimboeuf (8):
livepatch: Disallow vmlinux.ko
livepatch: Apply vmlinux-specific KLP relocations early
livepatch: Prevent module-specific KLP rela sections from referencing vmlinux symbols
s390: Change s390_kernel_write() return type to match memcpy()
livepatch: Remove module_disable_ro() usage
module: Remove module_disable_ro()
x86/module: Use text_mutex in apply_relocate_add()
module: Make module_enable_ro() static again
Kamalesh Babulal (1):
MAINTAINERS: add lib/livepatch to LIVE PATCHING
Lukas Bulwahn (1):
MAINTAINERS: adjust to livepatch .klp.arch removal
Peter Zijlstra (3):
livepatch: Remove .klp.arch
s390/module: Use s390_kernel_write() for late relocations
x86/module: Use text_poke() for late relocations
Samuel Zou (1):
livepatch: Make klp_apply_object_relocs static
Documentation/livepatch/module-elf-format.rst | 15 +--
MAINTAINERS | 4 +-
arch/s390/include/asm/uaccess.h | 2 +-
arch/s390/kernel/module.c | 147 ++++++++++++---------
arch/s390/mm/maccess.c | 9 +-
arch/um/kernel/um_arch.c | 16 +++
arch/x86/kernel/Makefile | 1 -
arch/x86/kernel/livepatch.c | 53 --------
arch/x86/kernel/module.c | 43 ++++++-
include/linux/livepatch.h | 17 ++-
include/linux/module.h | 8 --
kernel/livepatch/core.c | 178 ++++++++++++++++----------
kernel/module.c | 26 ++--
13 files changed, 283 insertions(+), 236 deletions(-)
delete mode 100644 arch/x86/kernel/livepatch.c
--
Jiri Kosina
SUSE Labs