]> Cypherpunks repositories - gostls13.git/commit
runtime: move startupRandomData declaration to os_linux.go
authorTobias Klauser <tklauser@distanz.ch>
Mon, 17 Aug 2020 14:32:33 +0000 (16:32 +0200)
committerTobias Klauser <tobias.klauser@gmail.com>
Tue, 18 Aug 2020 08:47:48 +0000 (08:47 +0000)
commit4149493443f09c14d9f0fad7030704ed57149b55
treecaef4942a2c4e6abf4dc11f57b79501e07bdc276
parent4b94e881611890c6d6cbda6f542a94ab08de17e0
runtime: move startupRandomData declaration to os_linux.go

startupRandomData is only used in sysauxv and getRandomData on linux,
thus move it closer to where it is used. Also adjust its godoc comment.

Change-Id: Ice51d579ec33436adbfdf247caf4ba00bae865e0
Reviewed-on: https://go-review.googlesource.com/c/go/+/248761
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/os_linux.go
src/runtime/runtime2.go