diff options
author | Gregory P. Smith <greg@krypto.org> | 2023-11-11 17:21:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-11 17:21:52 (GMT) |
commit | 0f7671cc6963db087cb99354b03999bde5b1d2dd (patch) | |
tree | 3c5b873323ee731b3e418d199c2f92b050f9e49d /Misc/NEWS.d | |
parent | 3bd8b743305f0d788302df3ff08c2bb7eb0dd297 (diff) | |
download | cpython-0f7671cc6963db087cb99354b03999bde5b1d2dd.zip cpython-0f7671cc6963db087cb99354b03999bde5b1d2dd.tar.gz cpython-0f7671cc6963db087cb99354b03999bde5b1d2dd.tar.bz2 |
[3.12] gh-110395: invalidate open kqueues after fork (GH-110517) (#111745)
* [3.12] gh-110395: invalidate open kqueues after fork (GH-110517)
Invalidate open select.kqueue instances after fork as the fd will be invalid in the child.
(cherry picked from commit a6c1c04d4d2339f0094422974ae3f26f8c7c8565)
Co-authored-by: Davide Rizzo <sorcio@gmail.com>
* move assert to after the child dying
this is in `main` via https://github.com/python/cpython/pull/111816/files
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Library/2023-10-08-14-17-06.gh-issue-110395._tdCsV.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2023-10-08-14-17-06.gh-issue-110395._tdCsV.rst b/Misc/NEWS.d/next/Library/2023-10-08-14-17-06.gh-issue-110395._tdCsV.rst new file mode 100644 index 0000000..eb9bcf1 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2023-10-08-14-17-06.gh-issue-110395._tdCsV.rst @@ -0,0 +1,2 @@ +Ensure that :func:`select.kqueue` objects correctly appear as closed in +forked children, to prevent operations on an invalid file descriptor. |