unix: mark the linknamed vgetrandom as noescape

Also see discussion in CL 616735
This commit is contained in:
Mateusz Poliwczak
2024-09-30 18:49:51 +02:00
parent cbf0eb65e7
commit 10e6a30b78

View File

@@ -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)