Re: [path][rfc] add PR_DETACH prctl command [3/3]

From: Alan Cox
Date: Tue Apr 19 2011 - 10:57:43 EST


On Tue, 19 Apr 2011 18:54:34 +0400
Stas Sergeev <stsp@xxxxxxxx> wrote:

> The attached patch implements the PR_DETACH prctl
> command. It detaches the entire process group from
> its parent, allowing the parent to still read the detach
> code with normal wait(). If the process then exits, the
> notification of the new parent is delayed till the old parent
> does either wait() to read the detach code, or exits.

What is the use case for this and why won't existing process group
interfaces do the job ?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/