Staging
v0.8.1
https://github.com/python/cpython
Revision be3c3a0e468237430ad7d19a33c60d306199a7f2 authored by Gregory P. Smith on 24 October 2020, 19:07:35 UTC, committed by GitHub on 24 October 2020, 19:07:35 UTC
It should just be a syscall updating a couple of fields in the kernel side
process info.  Confirming, in glibc is appears to be a shim for the setsid
syscall (based on not finding any code implementing anything special for it)
and in uclibc (*much* easier to read) it is clearly just a setsid syscall shim.

A breadcrumb _suggesting_ that it is not allowed on Darwin/macOS comes from
a commit in emacs: https://lists.gnu.org/archive/html/bug-gnu-emacs/2017-04/msg00297.html
but I don't have a way to verify if that is true or not.
As we are not supporting vfork on macOS today I just left a note in a comment.
1 parent 8cd1dba
History
Tip revision: be3c3a0e468237430ad7d19a33c60d306199a7f2 authored by Gregory P. Smith on 24 October 2020, 19:07:35 UTC
bpo-35823: Allow setsid() after vfork() on Linux. (GH-22945)
Tip revision: be3c3a0
File Mode Size
README -rw-r--r-- 67 bytes
_freeze_importlib.c -rw-r--r-- 4.7 KB
_testembed.c -rw-r--r-- 44.3 KB
python.c -rw-r--r-- 266 bytes

README

back to top