lkml.org 
[lkml]   [2005]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Tainted lsmod output
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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-09-12 21:56    [W:0.216 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site