]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-47151: Fallback to fork when vfork fails in subprocess. (GH-32186)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 31 Mar 2022 21:09:50 +0000 (14:09 -0700)
committerGitHub <noreply@github.com>
Thu, 31 Mar 2022 21:09:50 +0000 (14:09 -0700)
commit9ed179b07df6ce7432f972f5d069a7c8dee56e79
treee1523fc6ac9223cf69dc0e90fb6124ee4a57aea0
parent625f6704c0d783360574bbab2f78b0b9bbed5891
bpo-47151: Fallback to fork when vfork fails in subprocess. (GH-32186)

bpo-47151: Fallback to fork when vfork fails in subprocess. An OS kernel can specifically decide to disallow vfork() in a process. No need for that to prevent us from launching subprocesses.
(cherry picked from commit 4a08c4c469d36f99d3a5e0f17ad82ab35dcf2835)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
Misc/NEWS.d/next/Library/2022-03-30-01-17-43.bpo-47151.z-nQkR.rst [new file with mode: 0644]
Modules/_posixsubprocess.c