]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r288994 (by bdrewery):
authordchagin <dchagin@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 9 Jan 2016 18:28:15 +0000 (18:28 +0000)
committerdchagin <dchagin@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 9 Jan 2016 18:28:15 +0000 (18:28 +0000)
commit38bc29280960a96264214fb9fde9d222648455fe
treefbe08b3b35c103f5934d57dc700e81a323d83530
parentc477e5cf4a7bbb2429144dffee5efae5ba6292d2
MFC r288994 (by bdrewery):

Remove redundant RFFPWAIT/vfork(2) handling in Linux fork(2) and clone(2) wrappers.

r161611 added some of the code from sys_vfork() directly into the Linux
module wrappers since they use RFSTOPPED.  In r232240, the RFFPWAIT handling
was moved to syscallret(), thus this code in the Linux module is no longer
needed as it will be called later.

This also allows the Linux wrappers to benefit from the fix in r275616 for
threads not getting suspended if their vforked child is stopped while they
wait on them.

git-svn-id: svn://svn.freebsd.org/base/stable/10@293608 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/compat/linux/linux_fork.c