Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-97897: Prevent os.mkfifo and os.mknod segfaults with macOS 13 SDK #97944

Merged
merged 2 commits into from
Oct 6, 2022

Commits on Oct 5, 2022

  1. pythongh-97897: Prevent os.mkfifo and os.mknod segfaults with macOS 1…

    …3 SDK
    
    The macOS 13 SDK includes support for the mkfifoat and mknodat system calls.
    Using the dir_fd opton with either os.mkfifo() or os.mknod() can 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.
    ned-deily committed Oct 5, 2022
    Configuration menu
    Copy the full SHA
    1dba762 View commit details
    Browse the repository at this point in the history
  2. Update Misc/NEWS.d/next/macOS/2022-10-05-15-26-58.gh-issue-97897.Rf-C…

    …6u.rst
    
    Co-authored-by: Benjamin Peterson <benjamin@locrian.net>
    ned-deily and benjaminp authored Oct 5, 2022
    Configuration menu
    Copy the full SHA
    73640ec View commit details
    Browse the repository at this point in the history