[issue42736] Add support for making Linux prctl(...) calls to subprocess

Gregory P. Smith report at bugs.python.org
Sun Dec 27 23:51:23 EST 2020


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

Felt and understood.

The plethora of things to do between (v)fork+exec really makes me wish for a "little" eBPF interpreter rather than needing so much specific plumbing.  But that'd have the same problem as preexec_fn: in absence of something that declares an operation safe or not, it'd open the door to unsafe and leave us in no better state than preexec_fn.

----------

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


More information about the Python-bugs-list mailing list