Skip to content

Commit e55a0dc

Browse files
committed
chg: Small enhancements (W)
1 parent 20e0ea5 commit e55a0dc

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ tainted is a command-line (CLI) tool to get the current Linux Kernel taint value
44

55
(C) 2014 - Nikolay Aleksandrov <nikolay@redhat.com> (Version 1.0)
66

7-
(c) 2022, 2023 - Ralph Roth (Version 2.x.x) - enhancements and fixes for SLES 12, 15, openSUSE
7+
(c) 2022, 2024 - Ralph Roth (Version 2.x.x) - enhancements and fixes for SLES 12, 15, openSUSE
88

99
Homepage of version 2.x.x = <https://github.com/roseswe/tainted>
1010

@@ -24,7 +24,8 @@ A Makefile is provided for gcc
2424

2525
## Usage
2626

27-
./tainted [-?hix value] Version 2.0.8 (Feb 15 2023)
27+
$ ./tainted -?
28+
tainted [-?hix value] Version 2.0.9 (May 17 2024)
2829
Without command-line options this tool will print the
2930
current taint value (from proc FS) with information about each set bit.
3031
-h -? - this help
@@ -45,12 +46,12 @@ A Makefile is provided for gcc
4546
P 0 1 (G/P) A module with a non-GPL license has been loaded,
4647
this includes modules with no license.
4748
Set by modutils >= 2.4.9 and module-init-tools
48-
O 12 4096 An out-of-tree module has been loaded
49+
O 12 4096 An out-of-tree module has been loaded (not shipped with Kernel)
4950
E 13 8192 An unsigned module has been loaded in a kernel supporting
5051
module signature
51-
? 30 1073741824 Bit 30 - Undefined, maybe Azure specific?
52-
N 31 2147483648 SUSE: An unsupported kernel module was loaded
53-
52+
N 30 1073741824 Unsupported modules loaded, maybe Public Cloud (Azure/AWS) specific?
53+
Maybe not YES! certified?
54+
? 31 2147483648 SUSE special????
5455

5556
$ cat /proc/sys/kernel/tainted
5657
2147561472
@@ -84,7 +85,7 @@ A Makefile is provided for gcc
8485
D 7 128 The system has died
8586
A 8 256 The ACPI DSDT has been overridden with one supplied by the
8687
user instead of using the one provided by the hardware
87-
W 9 512 A kernel warning has occurred
88+
W 9 512 A kernel warning has occurred (kernel issued warning)
8889
C 10 1024 A module from drivers/staging was loaded
8990
I 11 2048 The system is working around a severe firmware bug
9091
O 12 4096 An out-of-tree module has been loaded
@@ -113,6 +114,6 @@ A Makefile is provided for gcc
113114
-----------------------------------------------------------------------------
114115

115116
<!--
116-
$Id: README.md,v 1.5 2023/02/15 13:23:03 ralph Exp $
117+
$Id: README.md,v 1.6 2024/05/17 13:23:00 ralph Exp $
117118
vim:set fileencoding=utf8 fileformat=unix filetype=text tabstop=2 expandtab:
118119
-->

tainted.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $Id: tainted.c,v 1.15 2024/05/01 15:53:55 ralph Exp $
1+
/* $Id: tainted.c,v 1.16 2024/05/17 13:23:01 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
@@ -72,7 +72,7 @@ static const char *szKernelTaintDescription[] = {
7272
[TAINT_USER] = "(N/U) The user has asked that the system be marked \"tainted\".\n This could be because they are running software that \n directly modifies the hardware, or for other reasons",
7373
[TAINT_DIE] = "The system has died",
7474
[TAINT_OVERRIDEN_ACPI_TABLE] = "The ACPI DSDT has been overridden with one supplied by the\n user instead of using the one provided by the hardware",
75-
[TAINT_WARN] = "A kernel warning has occurred",
75+
[TAINT_WARN] = "A kernel warning has occurred (kernel issued warning)",
7676
[TAINT_CRAP] = "A module from drivers/staging was loaded",
7777
[TAINT_FIRMWARE_WORKAROUND] = "The system is working around a severe firmware bug",
7878
[TAINT_OOT_MODULE] = "An out-of-tree module has been loaded (not shipped with Kernel)",

0 commit comments

Comments
 (0)