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

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

 



Thanks, Anil.

Best Regards,
Daniel (Youngwhan) Song



On Sun, Nov 15, 2009 at 7:26 PM, askb <askb23@xxxxxxxxx> wrote:
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



[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