Skip to content

Commit 20e0ea5

Browse files
committed
chg: Message enhanced
1 parent 9e4057a commit 20e0ea5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tainted.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
/* $Id: tainted.c,v 1.13 2023/02/15 13:23:03 ralph Exp $
1+
/* $Id: tainted.c,v 1.15 2024/05/01 15:53:55 ralph Exp $
22
* vim:set fileencoding=utf8 fileformat=unix filetype=c tabstop=2 noexpandtab:
33
*
44
* Tainted: Tool to get the current taint value and print each set bit in
55
* human readable format
66
*
77
* (C) 2014 - Nikolay Aleksandrov <nikolay@redhat.com> - https://github.com/NikAleksandrov/tainted
8-
* (c) 2022 - Ralph Roth - enhancements and fixes for SLES 12, 15, openSUSE - https://github.com/roseswe/tainted
8+
* (c) 2022, 2024 - Ralph Roth - enhancements and fixes for SLES 12, 15, openSUSE - https://github.com/roseswe/tainted
99
*
1010
* Compile with:
1111
* gcc -O2 -o tainted tainted.c
@@ -24,7 +24,7 @@
2424
#define PROC_TAINTED "/proc/sys/kernel/tainted"
2525

2626
// we try to align the version number with the CVS commit :-)
27-
#define HELP_FMT "%s [-?hix value] Version 2.0.8 (%s)\nWithout command-line options this tool will print the\n" \
27+
#define HELP_FMT "%s [-?hix value] Version 2.0.9 (%s)\nWithout command-line options this tool will print the\n" \
2828
"current taint value (from proc FS) with information about each set bit.\n" \
2929
"-h -? - this help\n" \
3030
"-i -l - print information about the different taint bits (list)\n" \
@@ -75,7 +75,7 @@ static const char *szKernelTaintDescription[] = {
7575
[TAINT_WARN] = "A kernel warning has occurred",
7676
[TAINT_CRAP] = "A module from drivers/staging was loaded",
7777
[TAINT_FIRMWARE_WORKAROUND] = "The system is working around a severe firmware bug",
78-
[TAINT_OOT_MODULE] = "An out-of-tree module has been loaded",
78+
[TAINT_OOT_MODULE] = "An out-of-tree module has been loaded (not shipped with Kernel)",
7979
[TAINT_UNSIGNED_MODULE] = "An unsigned module has been loaded in a kernel supporting\n module signature",
8080
[TAINT_SOFTLOCKUP] = "A soft lockup has previously occurred on the system",
8181
[TAINT_LIVEPATCH] = "The kernel has been live patched", /* 0x8000 - 15 new stuff follows */

0 commit comments

Comments
 (0)