golang/go

runtime: use .openbsd.randomdata for startupRand

Offen

#69.781 geöffnet am 04.10.2024

 (6 Kommentare) (1 Reaktion) (1 zugewiesene Person)Go (19.008 Forks)batch import
NeedsFixOS-OpenBSDcompiler/runtimehelp wanted

Repository-Metriken

Stars
 (133.883 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

OpenBSD has its version of AT_RANDOM, the .openbsd.randomdata ELF section documented at SPECS.randomdata. We should use that instead of reading from /dev/urandom.

Contributor Guide