This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] test-skeleton: Kill any child process's offspring
- From: Roland McGrath <roland at hack dot frob dot com>
- To: "Maciej W. Rozycki" <macro at codesourcery dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Wed, 25 Sep 2013 13:04:14 -0700 (PDT)
- Subject: Re: [PATCH] test-skeleton: Kill any child process's offspring
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot DEB dot 1 dot 10 dot 1309231748080 dot 4379 at tp dot orcam dot me dot uk> <20130924205922 dot C80012C08C at topped-with-meat dot com> <alpine dot DEB dot 1 dot 10 dot 1309242241430 dot 4379 at tp dot orcam dot me dot uk> <20130925180831 dot B68EC2C09A at topped-with-meat dot com> <alpine dot DEB dot 1 dot 10 dot 1309251912580 dot 4379 at tp dot orcam dot me dot uk>
> > setpgid should not fail. Checking that it actually doesn't is just good
> > practice.
>
> But that's a preexisting problem, not relevant to my proposal. And
> therefore if you think it needs to be addressed, then I think it should be
> corrected as a separate change. Please feel free to make it at any time.
No. Your change presupposes that setpgid did not fail, which was not
presumed before.