Commit bb20698d46bac1b2b48cfe1fcb33e54ac885946a

Authored by Greg Kroah-Hartman
1 parent e946217e4f

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>

Showing 1 changed file with 17 additions and 7 deletions Side-by-side Diff

Documentation/sysctl/kernel.txt
... ... @@ -363,11 +363,21 @@
363 363 Non-zero if the kernel has been tainted. Numeric values, which
364 364 can be ORed together:
365 365  
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.