]> Cypherpunks repositories - gostls13.git/commit
runtime: fix vet complaints for solaris/amd64, illumos/amd64
authorRuss Cox <rsc@golang.org>
Wed, 8 May 2019 18:56:48 +0000 (14:56 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 9 May 2019 21:13:23 +0000 (21:13 +0000)
commit60f67631a6c9e75ffd2829fcca56ac45d9baf019
tree498f0af006cd6f0d881890c9c3e726c201526254
parent49f62af790c02c389d34a24227a17ddd4b4db94a
runtime: fix vet complaints for solaris/amd64, illumos/amd64

Working toward making the tree vet-safe instead of having
so many exceptions in cmd/vet/all/whitelist.

This CL makes "go vet -unsafeptr=false runtime" happy for these GOOS/GOARCHes,
while keeping "GO_BUILDER_NAME=misc-vetall go tool dist test" happy too.

For #31916.

Change-Id: Ic64f7f4034695dd4c32c9b7f258960faf3742a83
Reviewed-on: https://go-review.googlesource.com/c/go/+/176103
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/vet/all/whitelist/illumos_amd64.txt [deleted file]
src/cmd/vet/all/whitelist/solaris_amd64.txt [deleted file]
src/runtime/os3_solaris.go
src/runtime/os_solaris.go
src/runtime/sys_solaris_amd64.s
src/runtime/syscall_solaris.go