diff options
| author | Mateusz Poliwczak <mpoliwczak34@gmail.com> | 2024-09-30 18:01:10 +0000 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2024-09-30 18:25:48 +0000 |
| commit | ba10a38ed0cf05082e488ed58b68483820024e91 (patch) | |
| tree | 08210309c630157f8ec4c365969da3550fa61b1f /src/runtime | |
| parent | 1d0f5c478ac176fa99d0f3d6bd540e5fb422187a (diff) | |
| download | go-ba10a38ed0cf05082e488ed58b68483820024e91.tar.xz | |
runtime, internal/syscall/unix: mark getrandom vDSO as non-escaping
Updates #66779
Updates #69577
Change-Id: I0dea5a30aab87aaa443e7e6646c1d07aa865ac1c
GitHub-Last-Rev: 1cea46deb345369346efb2cb320fae1644466322
GitHub-Pull-Request: golang/go#69719
Reviewed-on: https://go-review.googlesource.com/c/go/+/616696
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Commit-Queue: Ian Lance Taylor <iant@google.com>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/runtime')
| -rw-r--r-- | src/runtime/vgetrandom_linux.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/runtime/vgetrandom_linux.go b/src/runtime/vgetrandom_linux.go index af0e9cad1e..c938909503 100644 --- a/src/runtime/vgetrandom_linux.go +++ b/src/runtime/vgetrandom_linux.go @@ -11,6 +11,7 @@ import ( "unsafe" ) +//go:noescape func vgetrandom1(buf *byte, length uintptr, flags uint32, state uintptr, stateSize uintptr) int var vgetrandomAlloc struct { |
