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

Allen Webb
2022-12-02T22:48:16Z

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

Signed-off-by: Allen Webb <allenwebb@google.com>
---
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@vrfy.org>
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@google.com>
+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