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

From: Seth Jennings
Date: Thu Nov 06 2014 - 15:19:32 EST


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@xxxxxxxxxx> 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/