Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Feb 2012 18:41:47 -0500
From:      Matthew Story <matthewstory@gmail.com>
To:        freebsd-bugs@freebsd.org
Subject:   Re: bin/165164: [PATCH][bin] xargs(1) incorrect pointer passed to waitchildren function
Message-ID:  <CAB%2B9ogfVd4AjxNvAsyJ%2BeVAubKZvvHbJT69nQQ0mS7evoiZPRQ@mail.gmail.com>
In-Reply-To: <201202202051.q1KKpih8051714@freefall.freebsd.org>
References:  <201202202051.q1KKpih8051714@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 20, 2012 at 3:51 PM, <jilles@freebsd.org> wrote:

> Synopsis: [PATCH][bin] xargs(1) incorrect pointer passed to waitchildren
> function
>
> Responsible-Changed-From-To: freebsd-bugs->jilles
> Responsible-Changed-By: jilles
> Responsible-Changed-When: Mon Feb 20 20:47:47 UTC 2012
> Responsible-Changed-Why:
> Take.
>
> This looks useful for standards/165155. I think the "race" between
> vfork/_exit/waitpid(WNOHANG) will always work as expected, however,
> because of the semantics of vfork and how the FreeBSD kernel signals
> _exit->vfork and _exit->waitpid at the same time during exit1.
>

Will read the more kernel source here, but anecdotally I was never able to
reproduce the "race" without forcing the issue (via standards/165155, or
alteration of the source).  This kernel behavior would go a long way
towards explaining that.

Thanks Jilles.


>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=165164
> _______________________________________________
> freebsd-bugs@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
> To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"
>



-- 
regards,
matt



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAB%2B9ogfVd4AjxNvAsyJ%2BeVAubKZvvHbJT69nQQ0mS7evoiZPRQ>