Skip to content

Fix GH-15381 (getrandom part). #15390

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Conversation

devnexen
Copy link
Member

@devnexen devnexen commented Aug 13, 2024

gcc nor clang provides a constant to distinguish illumos and solaris nor the system provides a kernel version stamp like the BSD. thus, we simply check the symbol and remaining purposely conservative in the existing logic, using it only for solaris to avoid possible unexpected breakages for other systems. would need a different fix for higher branches.

gcc nor clang provides a constant to distinguish illumos and solaris
not the system provides a kernel version stamp like the BSD.
thus, we simply check the symbol and remaing purposely conservative in
the existing logic, using it only for solaris to avoid unexpected
breakages for other systems. would need a different fix for higher
branches.
Copy link
Member

@TimWolla TimWolla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Careful with the commit message though: The way it is written, it will close the issue upon merging this PR, because it matches GitHub's pattern.

devnexen added a commit that referenced this pull request Aug 13, 2024
To fix part of GH-15381.
gcc nor clang provides a constant to distinguish illumos and solaris
not the system provides a kernel version stamp like the BSD.
thus, we simply check the symbol and remaing purposely conservative in
the existing logic, using it only for solaris to avoid unexpected
breakages for other systems. would need a different fix for higher
branches.

Close GH-15390
@devnexen devnexen closed this in f1e5c63 Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants