René's URL Explorer Experiment


Title: gh-153400: Use glibc functions instead of syscall() by vstinner · Pull Request #155518 · python/cpython · GitHub

Open Graph Title: gh-153400: Use glibc functions instead of syscall() by vstinner · Pull Request #155518 · python/cpython

X Title: gh-153400: Use glibc functions instead of syscall() by vstinner · Pull Request #155518 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Use glibc functions instead of syscall(): pidfd_open(), pidfd_getfd() and pidfd_send_signal() (glibc 2.36), gettid() and getdents64() (glibc 2.30), and getrandom() (glibc 2.25). Use unsigned int fo...

X Description: Use glibc functions instead of syscall(): pidfd_open(), pidfd_getfd() and pidfd_send_signal() (glibc 2.36), gettid() and getdents64() (glibc 2.30), and getrandom() (glibc 2.25). Use unsigned int fo...

Opengraph URL: https://github.com/python/cpython/pull/155518

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:eb2eaae8-708f-c091-a1d2-5aa24c6dfbb7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8766:1201C:3609480:47BA6B7:6B01FDE9
html-safe-noncee3631071aaa68dc063d76ac0c88b41c6555d558e6951d75b3ee24e42109ebedb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzY2OjEyMDFDOjM2MDk0ODA6NDdCQTZCNzo2QjAxRkRFOSIsInZpc2l0b3JfaWQiOiIyNDU0NDA0NjU0MTcyMzM5Njg5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacfafebb69198829fba380eb7d6e18ddb6868c880d8b8db64e8a44a6eb822f87fc
hovercard-subject-tagpull_request:4247936798
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/155518/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/b0bbe9eb47b1bdc5048df359918986df866257e0c508210f995adc1f622eab68/python/cpython/pull/155518
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b0bbe9eb47b1bdc5048df359918986df866257e0c508210f995adc1f622eab68/python/cpython/pull/155518
og:image:altUse glibc functions instead of syscall(): pidfd_open(), pidfd_getfd() and pidfd_send_signal() (glibc 2.36), gettid() and getdents64() (glibc 2.30), and getrandom() (glibc 2.25). Use unsigned int fo...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevstinner
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/155518#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F155518
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F155518
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/155518
Reloadhttps://github.com/python/cpython/pull/155518
Reloadhttps://github.com/python/cpython/pull/155518
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
vstinner:pidfdhttps://github.com/vstinner/cpython/tree/pidfd
Conversationhttps://github.com/python/cpython/pull/155518
Commits2 (2)https://github.com/python/cpython/pull/155518/commits
Checkshttps://github.com/python/cpython/pull/155518/checks
Files changedhttps://github.com/python/cpython/pull/155518/files
gh-153400: Use glibc functions instead of syscall()https://github.com/python/cpython/pull/155518#top
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
vstinner:pidfdhttps://github.com/vstinner/cpython/tree/pidfd
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Aug 10, 2026https://github.com/python/cpython/pull/155518#issue-5113961310
Please reload this pagehttps://github.com/python/cpython/pull/155518
Resolve newer Linux os functions at runtime instead of compiling them out against old glibc #153400https://github.com/python/cpython/issues/153400
Please reload this pagehttps://github.com/python/cpython/pull/155518
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
AA-Turnerhttps://github.com/AA-Turner
corona10https://github.com/corona10
emmatypinghttps://github.com/emmatyping
erlend-aaslandhttps://github.com/erlend-aasland
itamarohttps://github.com/itamaro
code ownershttps://github.com/python/cpython/blob/219768ff531fc0686de623139562ee9f9537df98/.github/CODEOWNERS#L84
August 10, 2026 20:12https://github.com/python/cpython/pull/155518#event-29244574251
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Aug 10, 2026 https://github.com/python/cpython/pull/155518#ref-issue-4844523514
Resolve newer Linux os functions at runtime instead of compiling them out against old glibc #153400 https://github.com/python/cpython/issues/153400
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Aug 10, 2026https://github.com/python/cpython/pull/155518#event-29244578594
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Aug 10, 2026 https://github.com/python/cpython/pull/155518#ref-pullrequest-4998279670
gh-153400: Resolve newer libc/syscall wrappers at runtime on Linux #154816 https://github.com/python/cpython/pull/154816
https://github.com/vstinner
pythongh-153400https://github.com/python/cpython/issues/153400
: Use glibc functions instead of syscall()https://github.com/python/cpython/pull/155518/commits/c99f6474294378eca368e2719e83327206992c72
c99f647https://github.com/python/cpython/pull/155518/commits/c99f6474294378eca368e2719e83327206992c72
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
force-pushedhttps://github.com/python/cpython/compare/8c0011d3e86c9bf6ca2160615cef8ae6c53bfe3e..c99f6474294378eca368e2719e83327206992c72
8c0011dhttps://github.com/python/cpython/commit/8c0011d3e86c9bf6ca2160615cef8ae6c53bfe3e
c99f647https://github.com/python/cpython/commit/c99f6474294378eca368e2719e83327206992c72
Compare https://github.com/python/cpython/compare/8c0011d3e86c9bf6ca2160615cef8ae6c53bfe3e..c99f6474294378eca368e2719e83327206992c72
August 10, 2026 21:06https://github.com/python/cpython/pull/155518#event-29246849723
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
gpsheadhttps://github.com/gpshead
code ownerhttps://github.com/python/cpython/blob/219768ff531fc0686de623139562ee9f9537df98/.github/CODEOWNERS#L589
August 10, 2026 21:06https://github.com/python/cpython/pull/155518#event-29246849798
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Aug 10, 2026https://github.com/python/cpython/pull/155518#event-29246872960
https://github.com/vstinner
Use unsigned int for os.getrandom() flagshttps://github.com/python/cpython/pull/155518/commits/b6bbfd9f58642241e8b59afc606797b0f95911da
b6bbfd9https://github.com/python/cpython/pull/155518/commits/b6bbfd9f58642241e8b59afc606797b0f95911da
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Aug 11, 2026https://github.com/python/cpython/pull/155518#issuecomment-5253407488
@thesamesamhttps://github.com/thesamesam
Please reload this pagehttps://github.com/python/cpython/pull/155518
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
🔨 test-with-buildbots https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-buildbots%22
Aug 11, 2026https://github.com/python/cpython/pull/155518#event-29280270741
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Aug 11, 2026https://github.com/python/cpython/pull/155518#issuecomment-5253411435
@vstinnerhttps://github.com/vstinner
b6bbfd9https://github.com/python/cpython/commit/b6bbfd9f58642241e8b59afc606797b0f95911da
https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F155518%2Fmergehttps://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F155518%2Fmerge
Please reload this pagehttps://github.com/python/cpython/pull/155518
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
🔨 test-with-buildbots https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-buildbots%22
Aug 11, 2026https://github.com/python/cpython/pull/155518#event-29280272859
https://github.com/thesamesam
thesamesamhttps://github.com/thesamesam
Aug 11, 2026https://github.com/python/cpython/pull/155518#issuecomment-5258174115
Please reload this pagehttps://github.com/python/cpython/pull/155518
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Aug 11, 2026https://github.com/python/cpython/pull/155518#issuecomment-5258268545
Please reload this pagehttps://github.com/python/cpython/pull/155518
https://github.com/mhsmith
mhsmithhttps://github.com/mhsmith
Aug 11, 2026https://github.com/python/cpython/pull/155518#issuecomment-5259680146
Please reload this pagehttps://github.com/python/cpython/pull/155518
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Aug 11, 2026https://github.com/python/cpython/pull/155518#issuecomment-5259680540
@mhsmithhttps://github.com/mhsmith
b6bbfd9https://github.com/python/cpython/commit/b6bbfd9f58642241e8b59afc606797b0f95911da
https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F155518%2Fmergehttps://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F155518%2Fmerge
Please reload this pagehttps://github.com/python/cpython/pull/155518
https://github.com/mhsmith
mhsmithhttps://github.com/mhsmith
Aug 11, 2026https://github.com/python/cpython/pull/155518#issuecomment-5259725142
24 hours agohttps://buildbot.python.org/#/workers/110
Please reload this pagehttps://github.com/python/cpython/pull/155518
https://github.com/mhsmith
mhsmithhttps://github.com/mhsmith
Aug 11, 2026https://github.com/python/cpython/pull/155518#issuecomment-5259874050
Please reload this pagehttps://github.com/python/cpython/pull/155518
#155012https://github.com/python/cpython/pull/155012
Android buildbot failures after updating to API level 35 #142387https://github.com/python/cpython/issues/142387
Please reload this pagehttps://github.com/python/cpython/pull/155518
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
1c9521fhttps://github.com/python/cpython/commit/1c9521f48511e6eb974057d4a1ddc49fa50736d1
Aug 13, 2026https://github.com/python/cpython/pull/155518#event-29394720215
Please reload this pagehttps://github.com/python/cpython/pull/155518
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
August 13, 2026 10:44https://github.com/python/cpython/pull/155518#event-29394722225
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Aug 13, 2026https://github.com/python/cpython/pull/155518#event-29394722920
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Aug 13, 2026 https://github.com/python/cpython/pull/155518#ref-pullrequest-5114108925
gh-153400: Add syscall fallbacks for copy_file_range/memfd_create #155520 https://github.com/python/cpython/pull/155520
mbeijenhttps://github.com/mbeijen
Aug 14, 2026 https://github.com/python/cpython/pull/155518#ref-commit-aed1c30
https://github.com/vstinner
https://github.com/mbeijen
pythongh-153400https://github.com/python/cpython/issues/153400
: Use glibc functions instead of syscall() (https://github.com/mbeijen/cpython/commit/aed1c3011ae9946726f49df3d8bdecc0e228ae82
python#155518https://github.com/python/cpython/pull/155518
aed1c30https://github.com/mbeijen/cpython/commit/aed1c3011ae9946726f49df3d8bdecc0e228ae82
https://github.com/python/cpython/pull/155518
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Aug 14, 2026 https://github.com/python/cpython/pull/155518#ref-pullrequest-5146346855
gh-153400: Support os.getrandom() on old glibc versions #155762 https://github.com/python/cpython/pull/155762
https://github.com/mhsmith
mhsmithhttps://github.com/mhsmith
Sep 7, 2026https://github.com/python/cpython/pull/155518#issuecomment-5576475877
Please reload this pagehttps://github.com/python/cpython/pull/155518
Please reload this pagehttps://github.com/python/cpython/pull/155518
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
Sep 7, 2026 https://github.com/python/cpython/pull/155518#pullrequestreview-5135869473
View reviewed changes https://github.com/python/cpython/pull/155518/files/b6bbfd9f58642241e8b59afc606797b0f95911da
gpsheadhttps://github.com/gpshead
https://github.com/python/cpython/pull/155518#pullrequestreview-5135869473
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/155518
Modules/_posixsubprocess.chttps://github.com/python/cpython/pull/155518/files/b6bbfd9f58642241e8b59afc606797b0f95911da#diff-e182817ec4633ebe50bbfa9a6d0b7c00be01307f5457abfc85f9689055be908b
gpsheadhttps://github.com/gpshead
Sep 7, 2026https://github.com/python/cpython/pull/155518#discussion_r3953177849
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
has 256 bytes of d_name space declaredhttps://github.com/lattera/glibc/blob/895ef79e04a953cac1493863bcae29ad85657ee1/sysdeps/unix/sysv/linux/bits/dirent.h#L37
Please reload this pagehttps://github.com/python/cpython/pull/155518
https://github.com/mhsmith
mhsmithhttps://github.com/mhsmith
Sep 16, 2026 https://github.com/python/cpython/pull/155518#ref-pullrequest-5475042044
In Android tests, disable Gradle daemon python/buildmaster-config#796 https://github.com/python/buildmaster-config/pull/796
https://github.com/mhsmith
mhsmithhttps://github.com/mhsmith
Sep 16, 2026https://github.com/python/cpython/pull/155518#issuecomment-5698135661
aarch64 buildbothttps://buildbot.python.org/#/workers/109
python/buildmaster-config#796https://github.com/python/buildmaster-config/pull/796
Please reload this pagehttps://github.com/python/cpython/pull/155518
https://github.com/mhsmith
mhsmithhttps://github.com/mhsmith
Sep 21, 2026https://github.com/python/cpython/pull/155518#issuecomment-5761468242
Please reload this pagehttps://github.com/python/cpython/pull/155518
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Sep 21, 2026https://github.com/python/cpython/pull/155518#issuecomment-5762663589
Please reload this pagehttps://github.com/python/cpython/pull/155518
https://github.com/zanieb
zaniebhttps://github.com/zanieb
Oct 23, 2026 https://github.com/python/cpython/pull/155518#ref-pullrequest-5988029756
gh-160359: Accept older musl getdents64 buffer declarations #160365 https://github.com/python/cpython/pull/160365
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F155518
https://github.com/gpshead
gpshead https://github.com/gpshead
https://github.com/python/cpython/pull/155518/files/b6bbfd9f58642241e8b59afc606797b0f95911da
https://github.com/erlend-aasland
erlend-aasland https://github.com/erlend-aasland
https://github.com/corona10
corona10 https://github.com/corona10
https://github.com/AA-Turner
AA-Turner https://github.com/AA-Turner
https://github.com/emmatyping
emmatyping https://github.com/emmatyping
https://github.com/itamaro
itamaro https://github.com/itamaro
Please reload this pagehttps://github.com/python/cpython/pull/155518
Please reload this pagehttps://github.com/python/cpython/pull/155518
https://github.com/vstinner
https://github.com/bedevere-bot
https://github.com/thesamesam
https://github.com/mhsmith
https://github.com/gpshead
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.