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
Raw File
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
_bz2.vcxproj.filters
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <ItemGroup>
    <Filter Include="Source Files">
      <UniqueIdentifier>{f53a859d-dad2-4d5b-ae41-f28d8b571f5a}</UniqueIdentifier>
    </Filter>
    <Filter Include="Resource Files">
      <UniqueIdentifier>{b90c3cee-7700-4e87-bf85-0801866e8d0d}</UniqueIdentifier>
    </Filter>
    <Filter Include="Header Files">
      <UniqueIdentifier>{7e0bed05-ae33-43b7-8797-656455bbb7f3}</UniqueIdentifier>
    </Filter>
    <Filter Include="Header Files\bzip2">
      <UniqueIdentifier>{b53f67d8-fdf0-4e10-a987-e44475ff434a}</UniqueIdentifier>
    </Filter>
    <Filter Include="Source Files\bzip2">
      <UniqueIdentifier>{ed574b89-6983-4cdf-9f98-fe7048d9e89c}</UniqueIdentifier>
    </Filter>
  </ItemGroup>
  <ItemGroup>
    <ClCompile Include="..\Modules\_bz2module.c">
      <Filter>Source Files</Filter>
    </ClCompile>
    <ClCompile Include="$(bz2Dir)\blocksort.c">
      <Filter>Source Files\bzip2</Filter>
    </ClCompile>
    <ClCompile Include="$(bz2Dir)\bzlib.c">
      <Filter>Source Files\bzip2</Filter>
    </ClCompile>
    <ClCompile Include="$(bz2Dir)\compress.c">
      <Filter>Source Files\bzip2</Filter>
    </ClCompile>
    <ClCompile Include="$(bz2Dir)\crctable.c">
      <Filter>Source Files\bzip2</Filter>
    </ClCompile>
    <ClCompile Include="$(bz2Dir)\decompress.c">
      <Filter>Source Files\bzip2</Filter>
    </ClCompile>
    <ClCompile Include="$(bz2Dir)\huffman.c">
      <Filter>Source Files\bzip2</Filter>
    </ClCompile>
    <ClCompile Include="$(bz2Dir)\randtable.c">
      <Filter>Source Files\bzip2</Filter>
    </ClCompile>
  </ItemGroup>
  <ItemGroup>
    <ClInclude Include="$(bz2Dir)\bzlib_private.h">
      <Filter>Header Files\bzip2</Filter>
    </ClInclude>
    <ClInclude Include="$(bz2Dir)\bzlib.h">
      <Filter>Header Files\bzip2</Filter>
    </ClInclude>
  </ItemGroup>
  <ItemGroup>
    <ResourceCompile Include="..\PC\python_nt.rc">
      <Filter>Resource Files</Filter>
    </ResourceCompile>
  </ItemGroup>
</Project>
back to top