Remove `getentropy` on iOS/tvOS/watchOS/visionOS?
Open
Nobody has claimed this yet.
C-bug
O-macos
- Dominant language
- Rust
- Stars
- 2.6k
- Forks
- 1.3k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 69
Description
This is marked available everywhere in the sys/random.h header, but the header only exists on the macOS SDK.
I've filed FB23000895 with Apple, let's wait to hear back from them before we remove it from libc.
Split out from https://github.com/rust-lang/libc/pull/5158.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by checking the status of Apple report FB23000895, then inspect the libc bindings for getentropy and the availability represented by sys/random.h. Done means resolving whether the iOS-family declarations should remain and applying the corresponding libc change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, rust
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100