Repository navigation
third_party/musl: Add support for __NR_getrandom, plug it to getrandom(2) - #13351
Merged
Merged
Conversation
…m(2) This will be required in the staging branch by the 147.7703 rebase, which includes https://boringssl-review.googlesource.com/c/boringssl/+/89508 Bug: 573480706
Contributor
|
Collaborator
Author
Contributor
🤖 Gemini Suggested Commit Message💡 Pro Tips for a Better Commit Message:
|
Contributor
There was a problem hiding this comment.
Code Review
This pull request adds support for the getrandom system call by defining the necessary macros in syscall_arch.h and handling the __NR_getrandom case in syscall.c. The feedback suggests reordering the libc_wrapper_SYS_getrandom definition in syscall_arch.h to maintain alphabetical order in accordance with the repository's style guidelines.
hferreiro
approved these changes
Oct 14, 2026
andrewsavage1
approved these changes
Oct 14, 2026
andrewsavage1
enabled auto-merge (squash)
October 14, 2026 13:32
briantting
pushed a commit
that referenced
this pull request
Oct 15, 2026
…om, plug it to getrandom(2) Refer to original PR: #13351 This will be required in the staging branch by the 147.7703 rebase, which includes https://boringssl-review.googlesource.com/c/boringssl/+/89508 Bug: 573480706 (cherry picked from commit 7dcca6e)
briantting
pushed a commit
that referenced
this pull request
Oct 16, 2026
…om, plug it to getrandom(2) Refer to original PR: #13351 This will be required in the staging branch by the 147.7703 rebase, which includes https://boringssl-review.googlesource.com/c/boringssl/+/89508 Bug: 573480706 (cherry picked from commit 7dcca6e)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This will be required in the staging branch by the 147.7703 rebase, which includes https://boringssl-review.googlesource.com/c/boringssl/+/89508
Bug: 573480706