lkml.org 
[lkml]   [2005]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectdisowning a process
Hi,  I'm not sure if there's a posix way of doing this, but wanted to 
check if there is a way in linux.

I want to have a daemon that fork/execs a new process, but don't want
(for various reasons) the responsibility for cleaning up those process
with the wait() function family. I'm assuming that if the init process
became the parent of one of these forked processes, then it would clean
them up for me (is this assumption true?). Besides the daemon process
exiting, is there a way to disown the process on purpose so that init
inherits it?

Thanks,
Davy

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-05-27 19:37    [W:0.152 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site