]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r311268:
authorngie <ngie@FreeBSD.org>
Fri, 13 Jan 2017 08:48:20 +0000 (08:48 +0000)
committerngie <ngie@FreeBSD.org>
Fri, 13 Jan 2017 08:48:20 +0000 (08:48 +0000)
commitfb7584b2e04bd790a7e41acf3dd2905f1ff98e23
treee0f3b9efba4907e28964cfb38261cb1bbd452a89
parent0121c546456826420083135a793921f0b10eb0fb
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
contrib/netbsd-tests/lib/libc/sys/t_select.c