[issue47245] potential undefined behavior with subprocess using vfork() on Linux

Gregory P. Smith report at bugs.python.org
Wed Apr 6 19:01:45 EDT 2022


Gregory P. Smith <greg at krypto.org> added the comment:

Immediate action item: Add a way for people to disable vfork at runtime by setting a flag in the subprocess module, just in case.

This can be backported to 3.10 - It'd provide an escape hatch for anyone without a need to rebuild Python to disable use of vfork() without resorting to LD_PRELOAD hacks.

This is not an urgent issue unless actual practical problems are being observed in the field.

----------

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


More information about the Python-bugs-list mailing list