Re: [PATCH 2/2] livepatch/x86: apply alternatives and paravirt patches after relocations

2016-07-08 Thread Josh Poimboeuf
On Tue, Jul 05, 2016 at 10:35:00PM -0400, Jessica Yu wrote: > Implement arch_klp_init_object_loaded() for x86, which applies > alternatives/paravirt patches. This fixes the order in which relocations > and alternatives/paravirt patches are applied. > > Previously, if a patch module had

Re: [PATCH 2/2] livepatch/x86: apply alternatives and paravirt patches after relocations

2016-07-08 Thread Josh Poimboeuf
On Tue, Jul 05, 2016 at 10:35:00PM -0400, Jessica Yu wrote: > Implement arch_klp_init_object_loaded() for x86, which applies > alternatives/paravirt patches. This fixes the order in which relocations > and alternatives/paravirt patches are applied. > > Previously, if a patch module had

[PATCH 2/2] livepatch/x86: apply alternatives and paravirt patches after relocations

2016-07-05 Thread Jessica Yu
Implement arch_klp_init_object_loaded() for x86, which applies alternatives/paravirt patches. This fixes the order in which relocations and alternatives/paravirt patches are applied. Previously, if a patch module had alternatives or paravirt patches, these were applied first by the module loader

[PATCH 2/2] livepatch/x86: apply alternatives and paravirt patches after relocations

2016-07-05 Thread Jessica Yu
Implement arch_klp_init_object_loaded() for x86, which applies alternatives/paravirt patches. This fixes the order in which relocations and alternatives/paravirt patches are applied. Previously, if a patch module had alternatives or paravirt patches, these were applied first by the module loader