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
clinic
stringlib
README -rw-r--r-- 41 bytes
abstract.c -rw-r--r-- 70.7 KB
accu.c -rw-r--r-- 2.4 KB
boolobject.c -rw-r--r-- 7.1 KB
bytearrayobject.c -rw-r--r-- 72.0 KB
bytes_methods.c -rw-r--r-- 21.2 KB
bytesobject.c -rw-r--r-- 100.6 KB
call.c -rw-r--r-- 29.1 KB
capsule.c -rw-r--r-- 7.3 KB
cellobject.c -rw-r--r-- 5.6 KB
classobject.c -rw-r--r-- 18.0 KB
codeobject.c -rw-r--r-- 35.3 KB
complexobject.c -rw-r--r-- 30.9 KB
descrobject.c -rw-r--r-- 61.0 KB
dict-common.h -rw-r--r-- 2.2 KB
dictnotes.txt -rw-r--r-- 6.0 KB
dictobject.c -rw-r--r-- 149.1 KB
enumobject.c -rw-r--r-- 14.0 KB
exceptions.c -rw-r--r-- 88.2 KB
fileobject.c -rw-r--r-- 17.1 KB
floatobject.c -rw-r--r-- 71.0 KB
frameobject.c -rw-r--r-- 36.6 KB
funcobject.c -rw-r--r-- 30.9 KB
genericaliasobject.c -rw-r--r-- 16.7 KB
genobject.c -rw-r--r-- 69.7 KB
interpreteridobject.c -rw-r--r-- 8.6 KB
iterobject.c -rw-r--r-- 9.1 KB
listobject.c -rw-r--r-- 98.8 KB
listsort.txt -rw-r--r-- 35.3 KB
lnotab_notes.txt -rw-r--r-- 5.9 KB
longobject.c -rw-r--r-- 172.2 KB
memoryobject.c -rw-r--r-- 93.9 KB
methodobject.c -rw-r--r-- 17.0 KB
moduleobject.c -rw-r--r-- 24.8 KB
namespaceobject.c -rw-r--r-- 7.4 KB
object.c -rw-r--r-- 60.5 KB
obmalloc.c -rw-r--r-- 87.8 KB
odictobject.c -rw-r--r-- 73.5 KB
picklebufobject.c -rw-r--r-- 6.0 KB
rangeobject.c -rw-r--r-- 35.8 KB
setobject.c -rw-r--r-- 71.5 KB
sliceobject.c -rw-r--r-- 19.3 KB
structseq.c -rw-r--r-- 14.9 KB
tupleobject.c -rw-r--r-- 33.1 KB
typeobject.c -rw-r--r-- 253.5 KB
typeslots.inc -rw-r--r-- 4.0 KB
typeslots.py -rwxr-xr-x 1.2 KB
unicodectype.c -rw-r--r-- 7.5 KB
unicodeobject.c -rw-r--r-- 470.7 KB
unicodetype_db.h -rw-r--r-- 249.6 KB
unionobject.c -rw-r--r-- 12.2 KB
weakrefobject.c -rw-r--r-- 31.5 KB

README

back to top