RE: How to run user level program in modules

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

 



Hi
I read about call_usermodehelper.
But the problem is that is there any way to know the process we called using
call_usermodehelper is finished or not?
What is exit status?
Because the next statement I am executing in my program must be executed
when call_usermodehelper has finished its work.
So I am not able to do this synchronization using call_usermodehelper().

Regards,
Dipti.




-----Original Message-----
From: kernelnewbies-bounce@xxxxxxxxxxxx
[mailto:kernelnewbies-bounce@xxxxxxxxxxxx]On Behalf Of Vikas Aggarwal
Sent: Saturday, June 04, 2005 7:53 PM
To: kernelnewbies
Subject: Re: How to run user level program in modules

call_usermodehelper() . We used it to start a daemon based on event
generated inside the kernel.
-vikas

> On Sat, Jun 04, 2005 at 12:33:08PM +0530, Dipti Pawar wrote:
>> Hi
>> How to run user level program in module?
>> Because the functions that we use normally like strcpy () ,open (),
>> close ()
>> cannot be used in modules.
>> It gives error unresolved symbol, in module.
>>
>> What should I do if I want to use these functionalities in my module or
>> if I
>> want to call a user level program in my module?
>
> You don't do it :)
>
> thanks,
>
> greg k-h
>
> --
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive:       http://mail.nl.linux.org/kernelnewbies/
> FAQ:           http://kernelnewbies.org/faq/
>
>



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


http://www.patni.com
World-Wide Partnerships. World-Class Solutions.
_____________________________________________________________________

This e-mail message may contain proprietary, confidential or legally
privileged information for the sole use of the person or entity to
whom this message was originally addressed. Any review, e-transmission
dissemination or other use of or taking of any action in reliance upon
this information by persons or entities other than the intended
recipient is prohibited. If you have received this e-mail in error
kindly delete  this e-mail from your records. If it appears that this
mail has been forwarded to you without proper authority, please notify
us immediately at netadmin@xxxxxxxxx and delete this mail. 
_____________________________________________________________________

[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