On 10/24/06, Rahul <rahul.theraja@xxxxxxxxx> wrote:
Can anyone tell me or send me some links that tells about the following functions: daemonize, siginitsetinv , recalc_sigpending . Though i googled, i coildnt get much information on them.
daemonize() -----> is used to make kernel thread without any user-space resources and in the last it makes thread/process child of init. see comments above function definition (http://lxr.free-electrons.com/source/kernel/exit.c#373) For understanding these sort of functions, just look for kernel_thread documents on google and there you will find details. You can also get information in comments above these functions definition. OR do search for their usage in other places in kernel's code and you will get the information related to that required function.
Thanks in adavance Rahul
-- Fawad Lateef -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/