summaryrefslogtreecommitdiffhomepage
path: root/pkg/procid
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-07-30 20:47:08 +0000
committergVisor bot <gvisor-bot@google.com>2021-07-30 20:47:08 +0000
commit8110ab1bd357b5cb6cdf4e18e9fabf8cbe4950e5 (patch)
tree52c621494f5f8184b356c33cfdeeb8e7ae7c7a45 /pkg/procid
parent904163540563b2d9c1069ae348a1a4e05efc675c (diff)
parent62ea5c0a2212b9827f093551fc3da166facb9f0b (diff)
Merge release-20210726.0-12-g62ea5c0a2 (automated)
Diffstat (limited to 'pkg/procid')
-rw-r--r--pkg/procid/procid_amd64.s4
-rw-r--r--pkg/procid/procid_arm64.s4
2 files changed, 8 insertions, 0 deletions
diff --git a/pkg/procid/procid_amd64.s b/pkg/procid/procid_amd64.s
index b5bbfff90..74a8de42c 100644
--- a/pkg/procid/procid_amd64.s
+++ b/pkg/procid/procid_amd64.s
@@ -15,6 +15,10 @@
//go:build amd64 && go1.8 && !go1.18 && go1.1
// +build amd64,go1.8,!go1.18,go1.1
+// //go:linkname directives type-checked by checklinkname. Any other
+// non-linkname assumptions outside the Go 1 compatibility guarantee should
+// have an accompanied vet check or version guard build tag.
+
#include "textflag.h"
TEXT ·Current(SB),NOSPLIT,$0-8
diff --git a/pkg/procid/procid_arm64.s b/pkg/procid/procid_arm64.s
index 772d96289..48182c4a9 100644
--- a/pkg/procid/procid_arm64.s
+++ b/pkg/procid/procid_arm64.s
@@ -15,6 +15,10 @@
//go:build arm64 && go1.8 && !go1.18 && go1.1
// +build arm64,go1.8,!go1.18,go1.1
+// //go:linkname directives type-checked by checklinkname. Any other
+// non-linkname assumptions outside the Go 1 compatibility guarantee should
+// have an accompanied vet check or version guard build tag.
+
#include "textflag.h"
TEXT ·Current(SB),NOSPLIT,$0-8