Re: [PATCH] Document kernel taint flags properly

From: Greg KH
Date: Mon Oct 20 2008 - 17:44:23 EST


On Mon, Oct 20, 2008 at 02:37:52PM -0700, Randy Dunlap wrote:
> Greg KH wrote:
> > On Sat, Oct 18, 2008 at 03:51:11AM -0500, Michael Kerrisk wrote:
> >
> >> Greg,
> >>
> >> Small corrections below.
> >>
> >> On Fri, Oct 17, 2008 at 5:55 PM, Greg KH <greg@xxxxxxxxx> wrote:
> >>
> >>> From: Greg Kroah-Hartman <gregkh@xxxxxxx>
> >>>
> >>> This fills in the documentation for all of the current kernel taint
> >>> flags, and fixes the number for TAINT_CRAP, which was incorrectly
> >>> described.
> >>>
> >>> Cc: Michael Kerrisk <mtk.manpages@xxxxxxxxx>
> >>> Cc: Randy Dunlap <rdunlap@xxxxxxxxxxxx>
> >>> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx>
> >>>
> >>> ---
> >>> Documentation/sysctl/kernel.txt | 24 +++++++++++++++++-------
> >>> 1 file changed, 17 insertions(+), 7 deletions(-)
> >>>
> >>> --- a/Documentation/sysctl/kernel.txt
> >>> +++ b/Documentation/sysctl/kernel.txt
> >>> @@ -363,11 +363,21 @@ tainted:
> >>> Non-zero if the kernel has been tainted. Numeric values, which
> >>> can be ORed together:
> >>>
> >>> - 1 - A module with a non-GPL license has been loaded, this
> >>> - includes modules with no license.
> >>> - Set by modutils >= 2.4.9 and module-init-tools.
> >>> - 2 - A module was force loaded by insmod -f.
> >>> - Set by modutils >= 2.4.9 and module-init-tools.
> >>> - 4 - Unsafe SMP processors: SMP with CPUs not designed for SMP.
> >>> - 64 - A module from drivers/staging was loaded.
> >>> + 1 - A module with a non-GPL license has been loaded, this
> >>> + includes modules with no license.
> >>> + Set by modutils >= 2.4.9 and module-init-tools.
> >>> + 2 - A module was force loaded by insmod -f.
> >>> + Set by modutils >= 2.4.9 and module-init-tools.
> >>> + 4 - Unsafe SMP processors: SMP with CPUs not designed for SMP.
> >>> + 8 - A module was forcefully unloaded from the system by rmmod -f.
> >>>
> >> s/forcefully/forcibly/
> >>
> >>
> >>> + 16 - A hardware machine check error occured on the system.
> >>>
> >> occurred
> >>
> >
> > Thanks, I've updated this in my version.
> >
> > Randy, I can send this through my tree, is that ok? Or do you want it
> > to go through yours?
> >
> You please go ahead with it.

Will do.

thanks,

greg k-h
--
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/