Re: Is it possible to execute user application from kernel space?

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

 



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 ecartis@xxxxxxxxxxxx
Please read the FAQ at 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