]> Cypherpunks repositories - gostls13.git/commit
syscall: fix vet complaints for all dragonfly, freebsd, netbsd, openbsd
authorRuss Cox <rsc@golang.org>
Wed, 8 May 2019 19:10:29 +0000 (15:10 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 9 May 2019 21:13:25 +0000 (21:13 +0000)
commitb4a472b1c3b7ae48cf6128e5f0594439dc20d081
tree9bfef35b7adf7e8081e4973ba6478883df4c9e60
parent60f67631a6c9e75ffd2829fcca56ac45d9baf019
syscall: fix vet complaints for all dragonfly, freebsd, netbsd, openbsd

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 GOOSes,
while keeping "GO_BUILDER_NAME=misc-vetall go tool dist test" happy too.

For #31916.

Change-Id: Id2e1223497bd0cd6e880cd81f3ece6363e58219f
Reviewed-on: https://go-review.googlesource.com/c/go/+/176104
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
src/cmd/vet/all/whitelist/dragonfly_amd64.txt [deleted file]
src/cmd/vet/all/whitelist/freebsd_386.txt
src/cmd/vet/all/whitelist/freebsd_amd64.txt [deleted file]
src/cmd/vet/all/whitelist/netbsd_386.txt
src/cmd/vet/all/whitelist/netbsd_arm.txt [deleted file]
src/cmd/vet/all/whitelist/openbsd_386.txt
src/syscall/asm9_unix2_amd64.s
src/syscall/asm_netbsd_arm.s
src/syscall/asm_unix_386.s