Re: livepatch/kprobes incompatibility

2016-08-25 Thread Josh Poimboeuf
On Wed, Aug 24, 2016 at 11:39:59AM +0200, Petr Mladek wrote: > + kretprobe is safe as well; the kprobe handler does not modify regs->ip; > it just modifies the return address from the function; it does not affect > livepatching because the address is defined by the function caller > a

Re: livepatch/kprobes incompatibility

2016-08-24 Thread Masami Hiramatsu
On Wed, 24 Aug 2016 11:39:59 +0200 Petr Mladek wrote: > Well, there is one more problem. We should also warn when a kprobe > is not longer accessible because the function call is redirected > by a livepatch. My last notes about it are: > > + worked on the check for lost Kprobes; decided that o

Re: livepatch/kprobes incompatibility

2016-08-24 Thread Masami Hiramatsu
On Tue, 23 Aug 2016 21:13:00 -0400 Jessica Yu wrote: > Hi Masami, Petr, > > I'm trying to figure out where we are exactly with fixing the problems with > livepatch + kprobes, and I was wondering if there will be any more updates to > the ipmodify patchset that was originally merged back in 2014

Re: livepatch/kprobes incompatibility

2016-08-24 Thread Petr Mladek
On Tue 2016-08-23 21:13:00, Jessica Yu wrote: > Hi Masami, Petr, > > I'm trying to figure out where we are exactly with fixing the problems with > livepatch + kprobes, and I was wondering if there will be any more updates to > the ipmodify patchset that was originally merged back in 2014 (See: > h

livepatch/kprobes incompatibility

2016-08-23 Thread Jessica Yu
Hi Masami, Petr, I'm trying to figure out where we are exactly with fixing the problems with livepatch + kprobes, and I was wondering if there will be any more updates to the ipmodify patchset that was originally merged back in 2014 (See: https://lkml.org/lkml/2014/11/20/808). It seems that patch