Skip to content

Commit bb20698

Browse files
committed
Document kernel taint flags properly
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@gmail.com> Cc: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
1 parent e946217 commit bb20698

1 file changed

Lines changed: 17 additions & 7 deletions

File tree

‎Documentation/sysctl/kernel.txt‎

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -363,11 +363,21 @@ tainted:
363363
Non-zero if the kernel has been tainted. Numeric values, which
364364
can be ORed together:
365365

366-
1 - A module with a non-GPL license has been loaded, this
367-
includes modules with no license.
368-
Set by modutils >= 2.4.9 and module-init-tools.
369-
2 - A module was force loaded by insmod -f.
370-
Set by modutils >= 2.4.9 and module-init-tools.
371-
4 - Unsafe SMP processors: SMP with CPUs not designed for SMP.
372-
64 - A module from drivers/staging was loaded.
366+
1 - A module with a non-GPL license has been loaded, this
367+
includes modules with no license.
368+
Set by modutils >= 2.4.9 and module-init-tools.
369+
2 - A module was force loaded by insmod -f.
370+
Set by modutils >= 2.4.9 and module-init-tools.
371+
4 - Unsafe SMP processors: SMP with CPUs not designed for SMP.
372+
8 - A module was forcibly unloaded from the system by rmmod -f.
373+
16 - A hardware machine check error occurred on the system.
374+
32 - A bad page was discovered on the system.
375+
64 - The user has asked that the system be marked "tainted". This
376+
could be because they are running software that directly modifies
377+
the hardware, or for other reasons.
378+
128 - The system has died.
379+
256 - The ACPI DSDT has been overridden with one supplied by the user
380+
instead of using the one provided by the hardware.
381+
512 - A kernel warning has occurred.
382+
1024 - A module from drivers/staging was loaded.
373383

0 commit comments

Comments
 (0)