diff options
| author | Randy Dunlap <rdunlap@infradead.org> | 2026-02-16 09:37:29 +0300 |
|---|---|---|
| committer | Jonathan Corbet <corbet@lwn.net> | 2026-02-24 00:37:20 +0300 |
| commit | 95c0cd8bee59bc7ccc0d8c3008fec373ce8f0301 (patch) | |
| tree | 24c81616e6311d3c4005a0ed7a66b3ebd65c7e27 | |
| parent | 46298375477b093204c1843b931c637621952ead (diff) | |
| download | linux-95c0cd8bee59bc7ccc0d8c3008fec373ce8f0301.tar.xz | |
docs: admin-guide: update tiny script for number of taint flags
Account for 2 new taint flags being added by increasing the number of
bits handled by the tiny show-tainted-flags example script.
Fixes: 8eea4e744758 ("taint: Add TAINT_FWCTL")
Fixes: 2852ca7fba9f ("panic: Taint kernel if tests are run")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: David Gow <davidgow@google.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260216063729.2832770-1-rdunlap@infradead.org>
| -rw-r--r-- | Documentation/admin-guide/tainted-kernels.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/admin-guide/tainted-kernels.rst b/Documentation/admin-guide/tainted-kernels.rst index ed1f8f1e86c5..9ead927a37c0 100644 --- a/Documentation/admin-guide/tainted-kernels.rst +++ b/Documentation/admin-guide/tainted-kernels.rst @@ -74,7 +74,7 @@ a particular type of taint. It's best to leave that to the aforementioned script, but if you need something quick you can use this shell command to check which bits are set:: - $ for i in $(seq 18); do echo $(($i-1)) $(($(cat /proc/sys/kernel/tainted)>>($i-1)&1));done + $ for i in $(seq 20); do echo $(($i-1)) $(($(cat /proc/sys/kernel/tainted)>>($i-1)&1));done Table for decoding tainted state ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
