Skip to content

Comments

Linux: add name_to_handle_at and open_by_handle_at#4988

Draft
samu698 wants to merge 1 commit intorust-lang:mainfrom
samu698:main
Draft

Linux: add name_to_handle_at and open_by_handle_at#4988
samu698 wants to merge 1 commit intorust-lang:mainfrom
samu698:main

Conversation

@samu698
Copy link

@samu698 samu698 commented Feb 21, 2026

Description

Add file handle operations for Linux.

In particular I added:

  • name_to_handle_at()
  • open_by_handle_at()
  • file_handle
  • MAX_HANDLE_SZ

Sources

Checklist

  • Relevant tests in libc-test/semver have been updated
  • No placeholder or unstable values like *LAST or *MAX are
    included (see #3131)
  • Tested locally (cd libc-test && cargo test --target mytarget);
    especially relevant for platforms that may not be checked in CI

@rustbot label +stable-nominated

@rustbot rustbot added S-waiting-on-review stable-nominated This PR should be considered for cherry-pick to libc's stable release branch labels Feb 21, 2026
@samu698 samu698 marked this pull request as draft February 21, 2026 14:01
@samu698 samu698 force-pushed the main branch 2 times, most recently from 9a56824 to 2699446 Compare February 21, 2026 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stable-nominated This PR should be considered for cherry-pick to libc's stable release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants