Skip to content

getrandom: allow GRND_INSECURE flag#13250

Open
copybara-service[bot] wants to merge 1 commit into
masterfrom
test/cl919839094
Open

getrandom: allow GRND_INSECURE flag#13250
copybara-service[bot] wants to merge 1 commit into
masterfrom
test/cl919839094

Conversation

@copybara-service
Copy link
Copy Markdown

getrandom: allow GRND_INSECURE flag

Because we fetch from urandom under the assumption that the host urandom has
sufficient entropy, we can allow and silently ignore GRND_INSECURE for the
same reason we currently allow and silently ignore GRND_NONBLOCK.

The randomness will be more secure than what was requested, but this is fine.

Because we fetch from urandom under the assumption that the host urandom has
sufficient entropy, we can allow and silently ignore GRND_INSECURE for the
same reason we currently allow and silently ignore GRND_NONBLOCK.

The randomness will be more secure than what was requested, but this is fine.

PiperOrigin-RevId: 919839094
@copybara-service copybara-service Bot added the exported Issue was exported automatically label May 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

exported Issue was exported automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant