diff mbox series

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

Message ID 20221202224744.1447448-4-allenwebb@google.com
State New
Headers show
Series Add sysfs match-id modalias attribute for USB modules | expand

Commit Message

Allen Webb Dec. 2, 2022, 10:47 p.m. UTC
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 mbox series

Patch

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