diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-07-30 12:44:26 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-30 12:44:26 (GMT) |
| commit | 06fa244666ec6335a3b9bf2367e31b42b9a89b20 (patch) | |
| tree | 58e90a0b844b4aef60e35d8b4736fd8e0457127a /Python/pythonrun.c | |
| parent | 9e9c71d09e68b42fd1b251af6e4bfde697fe9b57 (diff) | |
| download | cpython-06fa244666ec6335a3b9bf2367e31b42b9a89b20.zip cpython-06fa244666ec6335a3b9bf2367e31b42b9a89b20.tar.gz cpython-06fa244666ec6335a3b9bf2367e31b42b9a89b20.tar.bz2 | |
[3.9] gh-122133: Authenticate socket connection for `socket.socketpair()` fallback (GH-122134) (#122428)
Authenticate socket connection for `socket.socketpair()` fallback when the platform does not have a native `socketpair` C API. We authenticate in-process using `getsocketname` and `getpeername` (thanks to Nathaniel J Smith for that suggestion).
(cherry picked from commit 78df1043dbdce5c989600616f9f87b4ee72944e5)
Co-authored-by: Seth Michael Larson <seth@python.org>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions
