Re: [PATCH] Blacklist binary-only modules lying about their license

From: Helge Hafting
Date: Wed Apr 28 2004 - 06:23:35 EST


Valdis.Kletnieks@xxxxxx wrote:
On Tue, 27 Apr 2004 19:53:39 +0200, Grzegorz Kulewski said:


Maybe kernel should display warning only once per given licence or even once per boot (who needs warning about tainting tainted kernel?)


If your kernel is tainted by 3 different modules, it saves you 2 reboots when
trying to replicate a problem with an untainted kernel.

Other than that, there's probably no reason to complain on a re-taint.

The tainting flag is in each module. Instead of trying them all
to see what taints the kernel, run "find"
over /etc/modules/<kernelversion>
to find all modules installed, and use some program
that print out the taintedness for each file. Simple, and
works even for modules that never gets loaded during normal use.

I don't know if such a program exists, but it should be trivial
to make, just paste the kernel "tainting" code into a
ordinary program.

Helge Hafting

-
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/