summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-07-30 12:44:26 (GMT)
committerGitHub <noreply@github.com>2024-07-30 12:44:26 (GMT)
commit06fa244666ec6335a3b9bf2367e31b42b9a89b20 (patch)
tree58e90a0b844b4aef60e35d8b4736fd8e0457127a /Python/pythonrun.c
parent9e9c71d09e68b42fd1b251af6e4bfde697fe9b57 (diff)
downloadcpython-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