mirror of
https://github.com/rwinkhart/sys.git
synced 2026-08-28 04:46:44 -04:00
unix: mark vgetrandom as non-escaping
For golang/go#69577 Change-Id: Id1942d252c813126aa2f110e3f426714db73b9c7 GitHub-Last-Rev: 10e6a30b78d5945a8a0bdb2aa732d653eb08c1ee GitHub-Pull-Request: golang/sys#220 Reviewed-on: https://go-review.googlesource.com/c/sys/+/616795 Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Michael Knyszek <mknyszek@google.com> Reviewed-by: Jason Donenfeld <Jason@zx2c4.com>
This commit is contained in:
committed by
Gopher Robot
parent
cbf0eb65e7
commit
23b0dabe63
@@ -9,4 +9,5 @@ package unix
|
|||||||
import _ "unsafe"
|
import _ "unsafe"
|
||||||
|
|
||||||
//go:linkname vgetrandom runtime.vgetrandom
|
//go:linkname vgetrandom runtime.vgetrandom
|
||||||
|
//go:noescape
|
||||||
func vgetrandom(p []byte, flags uint32) (ret int, supported bool)
|
func vgetrandom(p []byte, flags uint32) (ret int, supported bool)
|
||||||
|
|||||||
Reference in New Issue
Block a user