aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/asyncio/format_helpers.py
diff options
context:
space:
mode:
authorNed Deily <nad@python.org>2022-10-06 09:11:47 -0700
committerGitHub <noreply@github.com>2022-10-06 09:11:47 -0700
commit6d0a0191a4e5477bd843e62c24d7f3bcad4fd5fc (patch)
tree4e55ce841c2ded51c943ae2452ef4db62c851599 /Lib/asyncio/format_helpers.py
parente63d7dae90d15957303688285daeebc2e931e04b (diff)
downloadcpython-6d0a0191a4e5477bd843e62c24d7f3bcad4fd5fc.tar.gz
cpython-6d0a0191a4e5477bd843e62c24d7f3bcad4fd5fc.zip
gh-97897: Prevent os.mkfifo and os.mknod segfaults with macOS 13 SDK (GH-97944)
The macOS 13 SDK includes support for the `mkfifoat` and `mknodat` system calls. Using the `dir_fd` option with either `os.mkfifo` or `os.mknod` could result in a segfault if cpython is built with the macOS 13 SDK but run on an earlier version of macOS. Prevent this by adding runtime support for detection of these system calls ("weaklinking") as is done for other newer syscalls on macOS.
Diffstat (limited to 'Lib/asyncio/format_helpers.py')
0 files changed, 0 insertions, 0 deletions