Re: [PATCH] livepatch/module: make TAINT_LIVEPATCH module-specific

From: Josh Poimboeuf
Date: Wed Aug 24 2016 - 17:43:21 EST


On Wed, Aug 24, 2016 at 04:33:00PM -0500, Josh Poimboeuf wrote:
> There's no reliable way to determine which module tainted the kernel
> with CONFIG_LIVEPATCH. For example, /sys/module/<klp module>/taint
> doesn't report it. Neither does the "mod -t" command in the crash tool.
>
> Make it crystal clear who the guilty party is by converting
> CONFIG_LIVEPATCH to a module taint flag.
>
> This changes the behavior a bit: now the the flag gets set when the

"the the" -> "the"

> module is loaded, rather than when it's enabled.
>
> Reviewed-by: Chunyu Hu <chuhu@xxxxxxxxxx>
> Signed-off-by: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>

--
Josh