Re: [PATCH] module,bug: Add TAINT_OOT_MODULE flag for modules notbuilt in-tree

From: Nick Bowler
Date: Tue Oct 25 2011 - 11:39:13 EST


On 2011-10-25 14:26 +1030, Rusty Russell wrote:
> From: Ben Hutchings <ben@xxxxxxxxxxxxxxx>
> Subject: module,bug: Add TAINT_OOT_MODULE flag for modules not built in-tree
> Date: Mon, 24 Oct 2011 15:12:28 +0200
>
> Use of the GPL or a compatible licence doesn't necessarily make the code
> any good. We already consider staging modules to be suspect, and this
> should also be true for out-of-tree modules which may receive very
> little review.
>
> Signed-off-by: Ben Hutchings <ben@xxxxxxxxxxxxxxx>
> Reviewed-by: Dave Jones <davej@xxxxxxxxxx>
> Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxx>
> Signed-off-by: Rusty Russell <rusty@xxxxxxxxxxxxxxx> (patched oops-tracing.txt)
> ---
> Documentation/oops-tracing.txt | 2 ++
> include/linux/kernel.h | 1 +
> kernel/module.c | 5 +++++
> kernel/panic.c | 2 ++
> scripts/mod/modpost.c | 7 +++++++
> 5 files changed, 17 insertions(+)

This patch prevents the use of lockdep for debugging out of tree
modules, which is rather mean.

--
Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/)
--
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/