[PATCH v6 4/5] docs: Add entry for /sys/module/*/modalias

From: Allen Webb
Date: Fri Dec 02 2022 - 17:48:17 EST


Update the documentation to include the modalias sysfs attribute for
modules.

Signed-off-by: Allen Webb <allenwebb@xxxxxxxxxx>
---
Documentation/ABI/testing/sysfs-module | 12 ++++++++++++
1 file changed, 12 insertions(+)

diff --git a/Documentation/ABI/testing/sysfs-module b/Documentation/ABI/testing/sysfs-module
index 08886367d0470..1244a0e8d133e 100644
--- a/Documentation/ABI/testing/sysfs-module
+++ b/Documentation/ABI/testing/sysfs-module
@@ -48,6 +48,18 @@ Contact: Kay Sievers <kay.sievers@xxxxxxxx>
Description: Show the initialization state(live, coming, going) of
the module.

+What: /sys/module/*/modalias
+Date: Nov 2022
+KernelVersion: 6.2
+Contact: Allen Webb <allenwebb@xxxxxxxxxx>
+Description: Module match-id-based modaliases
+
+ These match against MODALIAS values included in the uevent of
+ devices when they are created. The attribute is implemented for
+ subsystems with the authorized attribute such as USB so
+ userspace can make authorization decisions based on which
+ modules match the device.
+
What: /sys/module/*/taint
Date: Jan 2012
KernelVersion: 3.3
--
2.37.3