How do I Use call_usermodehelper/exec_usermodehelper ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have a working kernel module which I would like to
execute a Bash script under certain conditions. I`ve
spent hours and hours and hours looking for a simple
way to do this. Eventually I came across the commands
"exec_usermodehelper" and "call_usermodehelper".
However I cannot find any tutorials covering these
commands and the only source code I have is "kmod.c"
from the kernel (not detailed or simple enough for a
newbie like me). Could someone please provide a
_simple_ worked example of how to use these commands
e.g. show me how to execute a Bash script from a
kernel module. Any help will be much appreciated.

ADVthanksANCE

P. Smith

________________________________________________________________________
Download Yahoo! Messenger now for a chance to win Live At Knebworth DVDs
http://www.yahoo.co.uk/robbiewilliams
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux