On Mon, Apr 11, 2005 at 13:17:28 +0530, Manu Jose wrote: > Hi, > What is the simplest method to initiate a ' bash script in > user level ' from a kernel module .? call_usermodehelper() It invokes an executable, which includes #! scripts and misc binaries. Don't invoke commands passed from userland this way for security reasons (it will run as root). IIRC it is asynchronous (starts the process and returns immediately) and you don't get stdin/stdout/stderr nor return value (will be collected by init), so you need the script to call you back in some way (proc file, sysctl, device, netlink...). ------------------------------------------------------------------------------- Jan 'Bulb' Hudec <bulb@xxxxxx>
Attachment:
signature.asc
Description: Digital signature