Re: [RFC PATCH 0/5] Arch-independent livepatch

2015-11-11 Thread Josh Poimboeuf
On Wed, Nov 11, 2015 at 03:00:44PM +0100, Miroslav Benes wrote: > > Background: Why does livepatch need to write its own relocations? > > == > > A typical livepatch module contains patched versions of functions that can > > reference non-exported global symbols and non-included local symbols. > > R

Re: [RFC PATCH 0/5] Arch-independent livepatch

2015-11-11 Thread Miroslav Benes
On Mon, 9 Nov 2015, Jessica Yu wrote: > This patchset removes livepatch's need for architecture-specific relocation > code by leveraging existing code in the module loader to perform > arch-dependent work. Specifically, instead of duplicating code and > re-implementing what the apply_relocate_add(

[RFC PATCH 0/5] Arch-independent livepatch

2015-11-09 Thread Jessica Yu
This patchset removes livepatch's need for architecture-specific relocation code by leveraging existing code in the module loader to perform arch-dependent work. Specifically, instead of duplicating code and re-implementing what the apply_relocate_add() function in the module loader already does in