mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
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>
This commit is contained in:
committed by
Linus Torvalds
parent
47d4b263a2
commit
9c4560e5bb
@@ -328,27 +328,12 @@ const struct taint_flag taint_flags[TAINT_FLAGS_COUNT] = {
|
||||
};
|
||||
|
||||
/**
|
||||
* print_tainted - return a string to represent the kernel taint state.
|
||||
* print_tainted - return a string to represent the kernel taint state.
|
||||
*
|
||||
* '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' - System experienced a machine check exception.
|
||||
* 'B' - System has hit bad_page.
|
||||
* 'U' - Userspace-defined naughtiness.
|
||||
* 'D' - Kernel has oopsed before
|
||||
* 'A' - ACPI table overridden.
|
||||
* 'W' - Taint on warning.
|
||||
* 'C' - modules from drivers/staging are loaded.
|
||||
* 'I' - Working around severe firmware bug.
|
||||
* 'O' - Out-of-tree module has been loaded.
|
||||
* 'E' - Unsigned module has been loaded.
|
||||
* 'L' - A soft lockup has previously occurred.
|
||||
* 'K' - Kernel has been live patched.
|
||||
* 'X' - Auxiliary taint, for distros' use.
|
||||
* For individual taint flag meanings, see Documentation/sysctl/kernel.txt
|
||||
*
|
||||
* The string is overwritten by the next call to print_tainted().
|
||||
* The string is overwritten by the next call to print_tainted(),
|
||||
* but is always NULL terminated.
|
||||
*/
|
||||
const char *print_tainted(void)
|
||||
{
|
||||
|
Reference in New Issue
Block a user