[New-bugs-announce] [issue47151] vfork() returns EINVAL if PID=1

Марк Коренберг report at bugs.python.org
Tue Mar 29 06:54:10 EDT 2022


New submission from Марк Коренберг <socketpair at gmail.com>:

The bug introduced here: #35823

If os.gepid() == 1, vfork() does not work and returns EINVAL.

Please add check for the current pid in condition where CPython chooses between fork() and vfork().

----------
components: Library (Lib)
messages: 416252
nosy: socketpair
priority: normal
severity: normal
status: open
title: vfork() returns EINVAL if PID=1
versions: Python 3.10, Python 3.11

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue47151>
_______________________________________


More information about the New-bugs-announce mailing list