Staging
v0.5.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
mime
__init__.py -rw-r--r-- 1.7 KB
_encoded_words.py -rw-r--r-- 8.3 KB
_header_value_parser.py -rw-r--r-- 104.5 KB
_parseaddr.py -rw-r--r-- 17.2 KB
_policybase.py -rw-r--r-- 14.7 KB
architecture.rst -rw-r--r-- 9.3 KB
base64mime.py -rw-r--r-- 3.5 KB
charset.py -rw-r--r-- 16.7 KB
contentmanager.py -rw-r--r-- 10.4 KB
encoders.py -rw-r--r-- 1.7 KB
errors.py -rw-r--r-- 3.6 KB
feedparser.py -rw-r--r-- 22.2 KB
generator.py -rw-r--r-- 19.7 KB
header.py -rw-r--r-- 23.5 KB
headerregistry.py -rw-r--r-- 20.1 KB
iterators.py -rw-r--r-- 2.1 KB
message.py -rw-r--r-- 46.0 KB
parser.py -rw-r--r-- 4.9 KB
policy.py -rw-r--r-- 10.1 KB
quoprimime.py -rw-r--r-- 9.6 KB
utils.py -rw-r--r-- 13.0 KB

back to top