From owner-freebsd-bugs@FreeBSD.ORG Mon Feb 20 23:41:48 2012 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C569F106566B for ; Mon, 20 Feb 2012 23:41:48 +0000 (UTC) (envelope-from matthewstory@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 728638FC0C for ; Mon, 20 Feb 2012 23:41:48 +0000 (UTC) Received: by vcmm1 with SMTP id m1so5617898vcm.13 for ; Mon, 20 Feb 2012 15:41:47 -0800 (PST) Received-SPF: pass (google.com: domain of matthewstory@gmail.com designates 10.220.38.10 as permitted sender) client-ip=10.220.38.10; Authentication-Results: mr.google.com; spf=pass (google.com: domain of matthewstory@gmail.com designates 10.220.38.10 as permitted sender) smtp.mail=matthewstory@gmail.com; dkim=pass header.i=matthewstory@gmail.com Received: from mr.google.com ([10.220.38.10]) by 10.220.38.10 with SMTP id z10mr13909319vcd.48.1329781307775 (num_hops = 1); Mon, 20 Feb 2012 15:41:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=yM3a60NYVNe4keOqjDU5zSENHbIj/qZvGKZm3g3k/rg=; b=FlJzNOvkF5Cen60bXIXo4NrotUqYIjVusPUhSyclFA24FsbGvmDD1+zYEyzwTXU8Xl waRcmYy9trqbuaYNdI+CIMtlR8+FWo39MOcMxJg3IkOo2vjEE/DqWggmkfmqy3oPYf28 O5d33LUgEIUGE9SGYFyOKjTb+dt+C7AIvH9g0= MIME-Version: 1.0 Received: by 10.220.38.10 with SMTP id z10mr11160246vcd.48.1329781307263; Mon, 20 Feb 2012 15:41:47 -0800 (PST) Received: by 10.52.21.84 with HTTP; Mon, 20 Feb 2012 15:41:47 -0800 (PST) In-Reply-To: <201202202051.q1KKpih8051714@freefall.freebsd.org> References: <201202202051.q1KKpih8051714@freefall.freebsd.org> Date: Mon, 20 Feb 2012 18:41:47 -0500 Message-ID: From: Matthew Story To: freebsd-bugs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: bin/165164: [PATCH][bin] xargs(1) incorrect pointer passed to waitchildren function X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Feb 2012 23:41:48 -0000 On Mon, Feb 20, 2012 at 3:51 PM, 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