Re: Tainted lsmod output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 12 Sep 2005, Hugh Dickins wrote:

> On Mon, 12 Sep 2005, Randy.Dunlap wrote:
> >
> >  *  'P' - Proprietary module has been loaded.
> >  *  'F' - Module has been forcibly loaded.
> >  *  'S' - SMP with CPUs not designed for SMP.
> >  *  'R' - User forced a module unload.
> >  *  'M' - Machine had a machine check experience.
> >  *  'B' - System has hit bad_page.
>
> The one that puzzles me greatly isn't listed there: 'G'

I guess it means GPL.

It's just the opposite of 'P', whereas all of the others
have opposites of ' '.

		snprintf(buf, sizeof(buf), "Tainted: %c%c%c%c%c%c",
			tainted & TAINT_PROPRIETARY_MODULE ? 'P' : 'G',
			tainted & TAINT_FORCED_MODULE ? 'F' : ' ',
			tainted & TAINT_UNSAFE_SMP ? 'S' : ' ',
			tainted & TAINT_FORCED_RMMOD ? 'R' : ' ',
 			tainted & TAINT_MACHINE_CHECK ? 'M' : ' ',
			tainted & TAINT_BAD_PAGE ? 'B' : ' ');

-- 
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux