source: trunk/server/fedora/config/etc/scripts/modprobe @ 1717

Last change on this file since 1717 was 1717, checked in by andersk, 12 years ago
Identify processes triggering the kernel module loader for the logs
  • Property svn:executable set to *
File size: 283 bytes
RevLine 
[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]12false
Note: See TracBrowser for help on using the repository browser.