[lkml]   [2019]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[RFC PATCH v2 0/3] livepatch: Clear relocation targets on a module removal
Updated version with Petr's feedback. It looks a bit different and
better now (I would say). Not that it should be considered before we
decide what to do with late module patching, but I finished it before
the discussion started and someone could be interested.


Tested on x86_64, ppc64le and s390x. Cross-compiled on arm64 to verify
that nothing is broken.

[1] 20180602161151.apuhs2dygsexmcg2@treble

Miroslav Benes (3):
livepatch: Clear relocation targets on a module removal
livepatch: Unify functions for writing and clearing object relocations
livepatch: Clean up klp_update_object_relocations() return paths

arch/powerpc/kernel/module_64.c | 45 +++++++++++++++++++++++++
arch/s390/kernel/module.c | 8 +++++
arch/x86/kernel/module.c | 43 ++++++++++++++++++++++++
include/linux/moduleloader.h | 7 ++++
kernel/livepatch/core.c | 58 ++++++++++++++++++++++++---------
5 files changed, 146 insertions(+), 15 deletions(-)


 \ /
  Last update: 2019-09-05 14:45    [W:0.096 / U:2.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site