0
1
mirror of https://github.com/golang/go synced 2025-02-24 04:05:04 +00:00
go/src/syscall
qmuntal 6f05fa7a4f [release-branch.go1.22] syscall: mark SyscallN as noescape
syscall.SyscallN is implemented by runtime.syscall_syscalln, which makes
sure that the variadic argument doesn't escape.

There is no need to worry about the lifetime of the elements of the
variadic argument, as the compiler will keep them live until the
function returns.

For #70197
Fixes #70201

Change-Id: I12991f0be12062eea68f2b103fa0a794c1b527eb
Reviewed-on: https://go-review.googlesource.com/c/go/+/625297
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
Reviewed-by: David Chase <drchase@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
(cherry picked from commit 7fff741016c8157e107cce8013ee3ca621725384)
Reviewed-on: https://go-review.googlesource.com/c/go/+/630215
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Quim Muntal <quimmuntal@gmail.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
2024-11-20 18:07:06 +00:00
..
2023-09-27 13:16:47 +00:00
2023-11-06 18:22:23 +00:00
2023-11-27 21:34:30 +00:00
2023-09-18 20:01:34 +00:00
2023-09-12 16:42:41 +00:00
2021-03-14 17:56:50 +00:00
2023-08-16 18:54:55 +00:00
2023-09-12 16:42:41 +00:00