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

Helge Hafting
2004-04-28T11:22:29Z

Valdis.Kletnieks@vt.edu 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