Skip to content

Commit 10e6a30

Browse files
committed
unix: mark the linknamed vgetrandom as noescape
Also see discussion in CL 616735
1 parent cbf0eb6 commit 10e6a30

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

unix/vgetrandom_linux.go

Lines changed: 1 addition & 0 deletions
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)