Re: [PATCH] Revert "x86/module: Detect and skip invalid relocations"

2019-06-24 Thread Josh Poimboeuf
On Mon, Jun 24, 2019 at 12:00:33PM +0200, Miroslav Benes wrote: > On Sat, 22 Jun 2019, Thomas Gleixner wrote: > > > Miroslav, > > > > On Thu, 20 Jun 2019, Miroslav Benes wrote: > > > On Thu, 20 Jun 2019, Cheng Jian wrote: > > > > > > > This reverts commit eda9cec4c9a12208a6f69fbe68f72a6311d50032

Re: [PATCH] Revert "x86/module: Detect and skip invalid relocations"

2019-06-24 Thread Miroslav Benes
On Sat, 22 Jun 2019, Thomas Gleixner wrote: > Miroslav, > > On Thu, 20 Jun 2019, Miroslav Benes wrote: > > On Thu, 20 Jun 2019, Cheng Jian wrote: > > > > > This reverts commit eda9cec4c9a12208a6f69fbe68f72a6311d50032. > > > > > > Since commit (eda9cec4c9a1 'x86/module: Detect and skip invalid >

Re: [PATCH] Revert "x86/module: Detect and skip invalid relocations"

2019-06-22 Thread Thomas Gleixner
Miroslav, On Thu, 20 Jun 2019, Miroslav Benes wrote: > On Thu, 20 Jun 2019, Cheng Jian wrote: > > > This reverts commit eda9cec4c9a12208a6f69fbe68f72a6311d50032. > > > > Since commit (eda9cec4c9a1 'x86/module: Detect and skip invalid > > relocations') add some sanity check in apply_relocate_add,

Re: [PATCH] Revert "x86/module: Detect and skip invalid relocations"

2019-06-20 Thread Miroslav Benes
On Thu, 20 Jun 2019, Cheng Jian wrote: > This reverts commit eda9cec4c9a12208a6f69fbe68f72a6311d50032. > > Since commit (eda9cec4c9a1 'x86/module: Detect and skip invalid > relocations') add some sanity check in apply_relocate_add, borke > re-insmod a kernel module which has been patched before,

[PATCH] Revert "x86/module: Detect and skip invalid relocations"

2019-06-20 Thread Cheng Jian
This reverts commit eda9cec4c9a12208a6f69fbe68f72a6311d50032. Since commit (eda9cec4c9a1 'x86/module: Detect and skip invalid relocations') add some sanity check in apply_relocate_add, borke re-insmod a kernel module which has been patched before, The relocation informations of the livepatch modu