Re: [PATCH -repost 05/21] kgr: update Kconfig documentation

From: Pavel Machek
Date: Fri Jun 27 2014 - 15:18:53 EST


Hi!

> > This now writes:
> > + help
> > + Select this to enable kGraft online kernel patching. The
> > + runtime price is nearly zero, so it is safe to say Y here
> > + provided you are aware of all the consequences (e.g. in
> > + security).
> >
> > Is it OK with you?
>
> This might cause a false impression that we are actually opening a
> security hole into a system, which is not true at all.
>
> Yes, backdoor writeres might (or might not) make use of kGraft API, but
> they have gazillion of other comparable options (*probes, ftrace,
> text_poke(), ...).
>
> I'd perhaps propose something like
>
> "Select this to enable kGraft live kernel patching. The runtime penalty is
> nearly zero, so it is safe to say Y here if you want the kernel to expose
> API for live patching to modules".

Well. People that are not distro vendors will not prepare patches for
themselves, right? And patches prepared for suse will not work on
self-configured kernels.

So probably everyone should say "N" here...


Pavel

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
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/