aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/sysctl/kernel.txt
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2018-04-10 19:32:29 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2018-04-11 13:28:34 -0400
commit9c4560e5bbd8c839c8986f79ef536aa07bd77ec7 (patch)
treecd8a9a48005b7d30df1c1bd1571bdfd1ab81fec7 /Documentation/sysctl/kernel.txt
parent47d4b263a2f7324fb3cb641ca00b2725dd12dea0 (diff)
taint: consolidate documentation
This consolidates the taint bit documentation into a single place with both numeric and letter values. Additionally adds the missing TAINT_AUX documentation. Link: http://lkml.kernel.org/r/1519084390-43867-3-git-send-email-keescook@chromium.org Signed-off-by: Kees Cook <keescook@chromium.org> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: Alexey Dobriyan <adobriyan@gmail.com> Cc: Jonathan Corbet <corbet@lwn.net> Cc: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/sysctl/kernel.txt')
-rw-r--r--Documentation/sysctl/kernel.txt53
1 files changed, 27 insertions, 26 deletions
diff --git a/Documentation/sysctl/kernel.txt b/Documentation/sysctl/kernel.txt
index 412314eebda6..4a890c7fb6c3 100644
--- a/Documentation/sysctl/kernel.txt
+++ b/Documentation/sysctl/kernel.txt
@@ -964,32 +964,33 @@ detect a hard lockup condition.
964 964
965tainted: 965tainted:
966 966
967Non-zero if the kernel has been tainted. Numeric values, which 967Non-zero if the kernel has been tainted. Numeric values, which can be
968can be ORed together: 968ORed together. The letters are seen in "Tainted" line of Oops reports.
969 969
970 1 - A module with a non-GPL license has been loaded, this 970 1 (P): A module with a non-GPL license has been loaded, this
971 includes modules with no license. 971 includes modules with no license.
972 Set by modutils >= 2.4.9 and module-init-tools. 972 Set by modutils >= 2.4.9 and module-init-tools.
973 2 - A module was force loaded by insmod -f. 973 2 (F): A module was force loaded by insmod -f.
974 Set by modutils >= 2.4.9 and module-init-tools. 974 Set by modutils >= 2.4.9 and module-init-tools.
975 4 - Unsafe SMP processors: SMP with CPUs not designed for SMP. 975 4 (S): Unsafe SMP processors: SMP with CPUs not designed for SMP.
976 8 - A module was forcibly unloaded from the system by rmmod -f. 976 8 (R): A module was forcibly unloaded from the system by rmmod -f.
977 16 - A hardware machine check error occurred on the system. 977 16 (M): A hardware machine check error occurred on the system.
978 32 - A bad page was discovered on the system. 978 32 (B): A bad page was discovered on the system.
979 64 - The user has asked that the system be marked "tainted". This 979 64 (U): The user has asked that the system be marked "tainted". This
980 could be because they are running software that directly modifies 980 could be because they are running software that directly modifies
981 the hardware, or for other reasons. 981 the hardware, or for other reasons.
982 128 - The system has died. 982 128 (D): The system has died.
983 256 - The ACPI DSDT has been overridden with one supplied by the user 983 256 (A): The ACPI DSDT has been overridden with one supplied by the user
984 instead of using the one provided by the hardware. 984 instead of using the one provided by the hardware.
985 512 - A kernel warning has occurred. 985 512 (W): A kernel warning has occurred.
9861024 - A module from drivers/staging was loaded. 986 1024 (C): A module from drivers/staging was loaded.
9872048 - The system is working around a severe firmware bug. 987 2048 (I): The system is working around a severe firmware bug.
9884096 - An out-of-tree module has been loaded. 988 4096 (O): An out-of-tree module has been loaded.
9898192 - An unsigned module has been loaded in a kernel supporting module 989 8192 (E): An unsigned module has been loaded in a kernel supporting module
990 signature. 990 signature.
99116384 - A soft lockup has previously occurred on the system. 991 16384 (L): A soft lockup has previously occurred on the system.
99232768 - The kernel has been live patched. 992 32768 (K): The kernel has been live patched.
993 65536 (X): Auxiliary taint, defined and used by for distros.
993 994
994============================================================== 995==============================================================
995 996