]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r311268:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 13 Jan 2017 08:48:17 +0000 (08:48 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 13 Jan 2017 08:48:17 +0000 (08:48 +0000)
commitd2ba3edcf3693e04241cfce9187251f6014d9cfc
tree82fd5b1fb868a30c753a0c88d89a4dd82eb129c7
parent6a112292b58cd4457bbb5a547695901856ea1e31
MFC r311268:

Clarify lifetime of child(..) function

Ensure child exits when complete as it's always run in a forked
process.

Add a missing break statement in :pselect_sigmask when calling
child(..) for clarity and to avoid weird domino effects if the
child process somehow does something it's not supposed to do
with the logfiles, file descriptors, etc

CID: 122336912233701300301

git-svn-id: svn://svn.freebsd.org/base/stable/10@312039 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
contrib/netbsd-tests/lib/libc/sys/t_select.c