Skip to content

Commit

Permalink
unix: mark vgetrandom as non-escaping
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
mateusz834 authored and gopherbot committed Oct 1, 2024
1 parent cbf0eb6 commit 23b0dab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions unix/vgetrandom_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ package unix
import _ "unsafe"

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

0 comments on commit 23b0dab

Please sign in to comment.