Skip to content

Commit 23b0dab

Browse files
mateusz834gopherbot
authored andcommitted
unix: mark vgetrandom as non-escaping
For golang/go#69577 Change-Id: Id1942d252c813126aa2f110e3f426714db73b9c7 GitHub-Last-Rev: 10e6a30 GitHub-Pull-Request: #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>
1 parent cbf0eb6 commit 23b0dab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

unix/vgetrandom_linux.go

+1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ package unix
99
import _ "unsafe"
1010

1111
//go:linkname vgetrandom runtime.vgetrandom
12+
//go:noescape
1213
func vgetrandom(p []byte, flags uint32) (ret int, supported bool)

0 commit comments

Comments
 (0)