[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to run user level program in modules
On Mon, Jun 06, 2005 at 09:53:49AM +0530, Dipti Pawar wrote:
> 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?
I take it you did not read the documentation for that function. My
word, why do we even write the stuff...
http://lxr.linux.no/source/kernel/kmod.c#L214
> What is exit status?
The exit status of what?
> 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().
Not true. See above.
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/