From owner-svn-src-head@freebsd.org Thu Aug 13 12:49:34 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CCF6D9A09AE; Thu, 13 Aug 2015 12:49:34 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.69.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cell.glebius.int.ru", Issuer "cell.glebius.int.ru" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5BE37B5D; Thu, 13 Aug 2015 12:49:33 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.15.2/8.15.2) with ESMTPS id t7DCnV8s096262 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 13 Aug 2015 15:49:31 +0300 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.15.2/8.15.2/Submit) id t7DCnU1S096261; Thu, 13 Aug 2015 15:49:30 +0300 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Thu, 13 Aug 2015 15:49:30 +0300 From: Gleb Smirnoff To: Mariusz Zaborski Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r286698 - head/sys/kern Message-ID: <20150813124930.GK75813@FreeBSD.org> References: <201508122008.t7CK8sjG009888@repo.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201508122008.t7CK8sjG009888@repo.freebsd.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Aug 2015 12:49:34 -0000 On Wed, Aug 12, 2015 at 08:08:54PM +0000, Mariusz Zaborski wrote: M> Author: oshogbo M> Date: Wed Aug 12 20:08:54 2015 M> New Revision: 286698 M> URL: https://svnweb.freebsd.org/changeset/base/286698 M> M> Log: M> When the wait*(2) syscalls wait for any process (P_ALL), they should M> ignore processes created with the pdfork(2) syscall. M> M> PR: 201054 M> Approved by: pjd (mentor) M> Discussed with: emaste, rwatson I believe this behaviour has a good reason, but it is counterintuitive to a person who knows classical fork/wait syscalls and isn't very much into the process descriptors. Thus, this behaviour must be documented in wait.2 manual page. And of course wait.2 must reference pdwait4.2. -- Totus tuus, Glebius.