aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/objdump
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2022-03-04 21:03:53 +0100
committerGopher Robot <gobot@golang.org>2022-04-19 23:03:11 +0000
commit3ae414c31e59c9ee210fa3606f36cf0ea36b9906 (patch)
treed000359ccd7a3d385d9eb78e2998e27dee64a5e6 /src/cmd/objdump
parentd68a8d0f27bb3599b49cacd119d7ac3202248050 (diff)
downloadgo-3ae414c31e59c9ee210fa3606f36cf0ea36b9906.tar.xz
crypto/rand: remove all buffering
The kernel's RNG is fast enough, and buffering means taking locks, which we don't want to do. So just remove all buffering. This also means the randomness we get is "fresher". That also means we don't need any locking, making this potentially faster if multiple cores are hitting GetRandom() at the same time on newer Linuxes. Also, change the build tag of the tests to be 'unix' instead of enumerating them. Change-Id: Ia773fab768270d2aa20c0649f4171c5326b71d02 Reviewed-on: https://go-review.googlesource.com/c/go/+/390038 Reviewed-by: Filippo Valsorda <valsorda@google.com> Run-TryBot: Jason Donenfeld <Jason@zx2c4.com> Auto-Submit: Jason Donenfeld <Jason@zx2c4.com> Reviewed-by: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/cmd/objdump')
0 files changed, 0 insertions, 0 deletions