Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Aug 2015 15:49:30 +0300
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        Mariusz Zaborski <oshogbo@FreeBSD.org>
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>
In-Reply-To: <201508122008.t7CK8sjG009888@repo.freebsd.org>
References:  <201508122008.t7CK8sjG009888@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150813124930.GK75813>