[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: execve from the kernel ??
On 11/5/05, Sebastian Skar <sebastianskar@xxxxxxxxx> wrote:
>
> Is it possible to execute an executable ELF file
> from within the kernel ?
> something like fork+execve from a kernel module ?
>
Yes, you can exceute a user space application through
call_usermodehelper function. But keep in mind that the application
will run with root rights but run in user space ...
--
Fawad Lateef
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/