lkml.org 
[lkml]   [2014]   [Nov]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCHv3 2/3] kernel: add support for live patching
On Tue, 25 Nov 2014, Steven Rostedt wrote:

> It is not guaranteed from ftrace's stand point. What happens if we have
> a kprobe handler that modifies it for someplace else? Changing the ip
> address may not be a kpatch/kGraft privilege only.

This brings me back to the RFC patch I sent back then in october ... what
we really want to do is to at least warn about situations when we are
going to redirect code flow (through IPMODIFY) for function that has a
kprobe installed anywhere inside it. Otherwise the probe will silently
vanish (there is no way how to migrate it to the new function
automatically), which might be very confusing for uses (cosider systemtap,
for example).

I'll resurect my patch if noone beats me doing it. It should go in
together with the live patching framework I believe.

Thanks,

--
Jiri Kosina
SUSE Labs


\
 
 \ /
  Last update: 2014-11-25 21:01    [W:0.071 / U:25.988 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site