Title: gh-97897: Prevent os.mkfifo and os.mknod segfaults with macOS 13 SDK by ned-deily · Pull Request #97944 · python/cpython · GitHub
Open Graph Title: gh-97897: Prevent os.mkfifo and os.mknod segfaults with macOS 13 SDK by ned-deily · Pull Request #97944 · python/cpython
X Title: gh-97897: Prevent os.mkfifo and os.mknod segfaults with macOS 13 SDK by ned-deily · Pull Request #97944 · python/cpython
Description: 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() 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. Issue: gh-97897
Open Graph Description: 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() can result in a segfault if cpython is built with the macO...
X Description: 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() can result in a segfault if cpython is built with the macO...
Opengraph URL: https://github.com/python/cpython/pull/97944
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:7eb44ab4-dc87-ef0c-187b-38bff9f57aa9 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B560:861EA:AADBB6:E5A0E4:6969935B |
| html-safe-nonce | 594e6d3fe429b2d90a436db4f5fb1586c3d74f3712871c38f5461edb7279e8c4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNTYwOjg2MUVBOkFBREJCNjpFNUEwRTQ6Njk2OTkzNUIiLCJ2aXNpdG9yX2lkIjoiMTg5MzI2NzQyOTA2MzExNTE1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 808563cbe33cf889a30766e6b4a43742aefabe098141b5ea08ec89138936370f |
| hovercard-subject-tag | pull_request:1077970232 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/97944/files |
| twitter:image | https://avatars.githubusercontent.com/u/5833005?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/5833005?s=400&v=4 |
| og:image:alt | 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() can result in a segfault if cpython is built with the macO... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3542e147982176a7ebaa23dfb559c8af16f721c03ec560c68c56b64a0f35e751 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | af80af7cc9e3de9c336f18b208a600950a3c187c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width