Re: Executing user-space program from an LKM

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

 



Hi,
On 2/27/06, Vincenzo Mallozzi <vinjunior@xxxxxxxx> wrote:
> Hi all,
> I've searched for this argument but I've not found
> something I need.
> The question is: how can I execute an user-space
> process from within a module?
> I've noticed that the do_exec function have an
> argument with type struct pt_regs but I ignore the way
> I can use them.
> Can anyone help me?
 why you want to use user space process in LKM?? User space process
means its using glibc library if its C application and you dont have
access to those libraries in kernel. so i dont think you can do that.
Regards,
Parag.

--
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