golang/go

runtime: use .openbsd.randomdata for startupRand

Ouverte

#69 781 ouverte le 4 oct. 2024

 (6 commentaires) (1 réaction) (1 personne assignée)Go (19 008 forks)batch import
NeedsFixOS-OpenBSDcompiler/runtimehelp wanted

Métriques du dépôt

Stars
 (133 883 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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.

Guide contributeur