[PATCH] docs: ABI: sysfs-module: list all taint flags
From: Randy Dunlap
Date: Wed Oct 15 2025 - 18:13:58 EST
The list of module taint flags has not been updated lately as the
taint flags list grows. Instead of trying to keep multiple lists
updated, just refer to the list of kernel taint flags since they are
the same.
Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
---
Cc: Jonathan Corbet <corbet@xxxxxxx>
Cc: linux-doc@xxxxxxxxxxxxxxx
Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Cc: Luis Chamberlain <mcgrof@xxxxxxxxxx>
Cc: Petr Pavlu <petr.pavlu@xxxxxxxx>
Cc: Daniel Gomez <da.gomez@xxxxxxxxxx>
Cc: Sami Tolvanen <samitolvanen@xxxxxxxxxx>
Cc: linux-modules@xxxxxxxxxxxxxxx
---
Documentation/ABI/testing/sysfs-module | 10 ++--------
Documentation/admin-guide/tainted-kernels.rst | 2 ++
2 files changed, 4 insertions(+), 8 deletions(-)
--- linux-next-20251014.orig/Documentation/ABI/testing/sysfs-module
+++ linux-next-20251014/Documentation/ABI/testing/sysfs-module
@@ -52,14 +52,8 @@ What: /sys/module/*/taint
Date: Jan 2012
KernelVersion: 3.3
Contact: Kay Sievers <kay.sievers@xxxxxxxx>
-Description: Module taint flags:
- == =====================
- P proprietary module
- O out-of-tree module
- F force-loaded module
- C staging driver module
- E unsigned module
- == =====================
+Description: Module taint flags: same as the kernel taint flags.
+ See: :ref:`taint_flags` in Documentation/admin-guide/tainted-kernels.rst
What: /sys/module/grant_table/parameters/free_per_iteration
Date: July 2023
--- linux-next-20251014.orig/Documentation/admin-guide/tainted-kernels.rst
+++ linux-next-20251014/Documentation/admin-guide/tainted-kernels.rst
@@ -76,6 +76,8 @@ which bits are set::
$ for i in $(seq 18); do echo $(($i-1)) $(($(cat /proc/sys/kernel/tainted)>>($i-1)&1));done
+.. _taint_flags:
+
Table for decoding tainted state
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~