// DisableGetrandom makes future calls to getrandom(2) fail with ENOSYS. It // applies only to the current thread and to any programs executed from it. // Callers should use [runtime.LockOSThread] in a dedicated goroutine. func DisableGetrandom() error { … }