bin/165164: [PATCH][bin] xargs(1) incorrect pointer passed to waitchildren function

Matthew Story matthewstory at
Mon Feb 20 23:41:48 UTC 2012

On Mon, Feb 20, 2012 at 3:51 PM, <jilles at> 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.

> _______________________________________________
> freebsd-bugs at mailing list
> To unsubscribe, send any mail to "freebsd-bugs-unsubscribe at"


More information about the freebsd-bugs mailing list