[kpatch] [PATCH 2/2] kernel: add support for live patching

Seth Jennings sjenning at redhat.com
Thu Nov 6 20:19:19 UTC 2014


On Thu, Nov 06, 2014 at 03:02:04PM -0500, Steven Rostedt wrote:
> On Thu,  6 Nov 2014 08:39:08 -0600
> Seth Jennings <sjenning at redhat.com> wrote:
> 
> > --- /dev/null
> > +++ b/kernel/livepatch/Kconfig
> > @@ -0,0 +1,11 @@
> > +config LIVE_PATCHING
> > +	tristate "Live Kernel Patching"
> > +	depends on DYNAMIC_FTRACE_WITH_REGS && MODULES && SYSFS && KALLSYMS_ALL
> > +	default m
> 
> Nuke this default. This should be default 'n', which is what kconfig
> defaults to when none is mentioned.

Ok.

Thanks,
Seth

> 
> -- Steve
> 
> > +	help
> > +	  Say Y here if you want to support live kernel patching.
> > +	  This setting has no runtime impact until a live-patch
> > +	  kernel module that uses the live-patch interface provided
> > +	  by this option is loaded, resulting in calls to patched
> > +	  functions being redirected to the new function code contained
> > +	  in the live-patch module.




More information about the kpatch mailing list