svn commit: r286698 - head/sys/kern

Gleb Smirnoff glebius at FreeBSD.org
Thu Aug 13 12:49:34 UTC 2015


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.


More information about the svn-src-head mailing list