On Sun, 2009-11-15 at 17:26 -0800, Daniel (Youngwhan) Song wrote:
> Hi,
> 
> I am just curious that if it is possible to launch user application,
> say, "ls" or "ps", in kernel space.
> 

Following facilitates calling a user space function from a kernel
module:

int call_usermodehelper(char *path, char **argv, char **envp, enum
umh_wait wait)


> If it is possible, could you share how it can be achieved?
> 

Here is a sample program:
http://people.ee.ethz.ch/~arkeller/linux/kernel_user_space_howto.html#s7


Thanks,
Anil


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to