Last change
on this file since 1736 was
1717,
checked in by andersk, 14 years ago
|
Identify processes triggering the kernel module loader for the logs
|
-
Property svn:executable set to
*
|
File size:
283 bytes
|
Rev | Line | |
---|
[1688] | 1 | #!/bin/sh |
---|
[1717] | 2 | ( |
---|
| 3 | echo "Ignoring request from kernel: modprobe $*" |
---|
| 4 | stacks=$(grep -ls request_module /proc/*/stack) |
---|
| 5 | if [ "$stacks" ]; then |
---|
| 6 | ps -Lfwp $(for stack in $stacks; do |
---|
| 7 | proc="${stack%/stack}" |
---|
| 8 | echo "${proc#/proc/}"; |
---|
| 9 | done) |
---|
| 10 | fi |
---|
| 11 | ) | logger -p authpriv.info |
---|
[1688] | 12 | false |
---|
Note: See
TracBrowser
for help on using the repository browser.