Skip to content

Commit 0cadfc0

Browse files
rpjdayAdrianBunk
authored andcommitted
Documentation: Clarify when module debugging actually works.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Adrian Bunk <bunk@kernel.org>
1 parent 3239c49 commit 0cadfc0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Documentation/debugging-modules.txt

+4
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,7 @@ echo 'echo "$@" >> /tmp/modprobe.log' >> /tmp/modprobe
1616
echo 'exec /sbin/modprobe "$@"' >> /tmp/modprobe
1717
chmod a+x /tmp/modprobe
1818
echo /tmp/modprobe > /proc/sys/kernel/modprobe
19+
20+
Note that the above applies only when the *kernel* is requesting
21+
that the module be loaded -- it won't have any effect if that module
22+
is being loaded explicitly using "modprobe" from userspace.

0 commit comments

Comments
 (0)