Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | internal/syscall/unix: use atomic.Bool for getrandomUnsupported | Tobias Klauser | 2023-01-26 | 1 | -4/+4 |
| | | | | | | | | | Change-Id: I50522ed782dd963f445419fc45495f6608909c47 Reviewed-on: https://go-review.googlesource.com/c/go/+/463124 Reviewed-by: Ian Lance Taylor <iant@google.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Matthew Dempsky <mdempsky@google.com> | ||||
* | crypto/rand, internal/syscall/unix: add support for getrandom on NetBSD ≥ 10.0 | Tobias Klauser | 2023-01-26 | 1 | -0/+56 |
The getrandom syscall was added to NetBSD in version 10.0, see https://man.netbsd.org/NetBSD-10.0-STABLE/getrandom.2 Change-Id: I2714c1040791f7f4728be8d869058a38cbd93d4d Reviewed-on: https://go-review.googlesource.com/c/go/+/463123 Reviewed-by: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Benny Siegert <bsiegert@gmail.com> |