On Thu, Aug 13, 2015 at 03:49:30PM +0300, Gleb Smirnoff wrote: > 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. Thanks Gleb, I will do as you suggested.
Cheers, Mariusz
pgpWgpCwOnW07.pgp
Description: PGP signature