Re: External Program

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

 



Greg,


Thank you for your help

[ ] 's

Edison Figueira Jr.

From: Greg KH <greg@xxxxxxxxx>
Reply-To: kernelnewbies <kernelnewbies@xxxxxxxxxxxx>
To: Edison Figueira <efjlilo@xxxxxxxxxxx>
CC: kernelnewbies@xxxxxxxxxxxx
Subject: Re: External Program
Date: Thu, 20 Oct 2005 09:18:04 -0700

On Thu, Oct 20, 2005 at 02:12:58PM -0200, Edison Figueira wrote:
> I Would like to know if it is possible to call an external program of
> kernel module.
> If affirmative, how  can i make that call?

call_usermodehelper() is what you want to use.

> Will that program be executed in kernel_space or  user_space?

userspace, but run as root, so be careful.

Hope this helps,

greg k-h

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


_________________________________________________________________
MSN Messenger: converse online com seus amigos . http://messenger.msn.com.br


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