summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-07-30 18:46:35 (GMT)
committerGitHub <noreply@github.com>2024-07-30 18:46:35 (GMT)
commit2621a8a40ba4b2c68ca564671b7daa5da80a4508 (patch)
treee7a32232a92ca31e2cb2bc8d0f59a90361ba5b86 /Python/pythonrun.c
parent1fb69b324720d9e0463c8fd52bd5737837167162 (diff)
downloadcpython-2621a8a40ba4b2c68ca564671b7daa5da80a4508.zip
cpython-2621a8a40ba4b2c68ca564671b7daa5da80a4508.tar.gz
cpython-2621a8a40ba4b2c68ca564671b7daa5da80a4508.tar.bz2
[3.8] gh-122133: Authenticate socket connection for `socket.socketpair()` fallback (GH-122134) (GH-122429)
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> Co-authored-by: Ɓukasz Langa <lukasz@langa.pl>
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions