Indraneel Mukherjee
2005-11-16 11:04:34 UTC
Hi All,
I've got a doubt regarding the call to call_usermodehelper.
Can i invoke it from a timer function? One of the recent thread's on
this mailing list suggest that we can call it from module_init(to get
a process context). But i read somewhere that the process context for
call_usermodehelper is obtained by creating a thread from the
kernel-event daemon. If that is the case, can i invoke
call_usermodehelper from a timer function?
Thanks and Regards,
Indraneel
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/
I've got a doubt regarding the call to call_usermodehelper.
Can i invoke it from a timer function? One of the recent thread's on
this mailing list suggest that we can call it from module_init(to get
a process context). But i read somewhere that the process context for
call_usermodehelper is obtained by creating a thread from the
kernel-event daemon. If that is the case, can i invoke
call_usermodehelper from a timer function?
Thanks and Regards,
Indraneel
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/