aboutsummaryrefslogtreecommitdiff
path: root/src/syscall
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2021-08-25 12:48:26 -0400
committerRuss Cox <rsc@golang.org>2021-10-28 18:17:57 +0000
commitf229e7031a6efb2f23241b5da000c3b3203081d6 (patch)
tree69664f4f4b37d9256133addc8f0328590b70a055 /src/syscall
parented475fe53ba41c0c15b11565f8b9d00165345bc2 (diff)
downloadgo-f229e7031a6efb2f23241b5da000c3b3203081d6.tar.xz
all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor)
When these packages are released as part of Go 1.18, Go 1.16 will no longer be supported, so we can remove the +build tags in these files. Ran go fix -fix=buildtag std cmd and then reverted the bootstrapDirs as defined in src/cmd/dist/buildtool.go, which need to continue to build with Go 1.4 for now. Also reverted src/vendor and src/cmd/vendor, which will need to be updated in their own repos first. Manual changes in runtime/pprof/mprof_test.go to adjust line numbers. For #41184. Change-Id: Ic0f93f7091295b6abc76ed5cd6e6746e1280861e Reviewed-on: https://go-review.googlesource.com/c/go/+/344955 Trust: Russ Cox <rsc@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Bryan C. Mills <bcmills@google.com>
Diffstat (limited to 'src/syscall')
-rw-r--r--src/syscall/bpf_bsd.go1
-rw-r--r--src/syscall/creds_test.go1
-rw-r--r--src/syscall/dirent.go1
-rw-r--r--src/syscall/dirent_test.go1
-rw-r--r--src/syscall/endian_big.go1
-rw-r--r--src/syscall/endian_little.go1
-rw-r--r--src/syscall/env_unix.go1
-rw-r--r--src/syscall/exec_aix_test.go1
-rw-r--r--src/syscall/exec_bsd.go1
-rw-r--r--src/syscall/exec_libc.go1
-rw-r--r--src/syscall/exec_libc2.go1
-rw-r--r--src/syscall/exec_linux.go1
-rw-r--r--src/syscall/exec_linux_test.go1
-rw-r--r--src/syscall/exec_pdeathsig_test.go1
-rw-r--r--src/syscall/exec_solaris_test.go1
-rw-r--r--src/syscall/exec_unix.go1
-rw-r--r--src/syscall/exec_unix_test.go1
-rw-r--r--src/syscall/export_unix_test.go1
-rw-r--r--src/syscall/flock.go1
-rw-r--r--src/syscall/flock_linux_32bit.go1
-rw-r--r--src/syscall/forkpipe.go1
-rw-r--r--src/syscall/forkpipe2.go1
-rw-r--r--src/syscall/fs_js.go1
-rw-r--r--src/syscall/getdirentries_test.go1
-rw-r--r--src/syscall/mkasm.go1
-rw-r--r--src/syscall/mkpost.go1
-rw-r--r--src/syscall/mksyscall_windows.go1
-rw-r--r--src/syscall/mmap_unix_test.go1
-rw-r--r--src/syscall/msan.go1
-rw-r--r--src/syscall/msan0.go1
-rw-r--r--src/syscall/net_js.go1
-rw-r--r--src/syscall/ptrace_darwin.go1
-rw-r--r--src/syscall/ptrace_ios.go1
-rw-r--r--src/syscall/route_bsd.go1
-rw-r--r--src/syscall/route_freebsd_32bit.go1
-rw-r--r--src/syscall/route_freebsd_64bit.go1
-rw-r--r--src/syscall/setuidgid_32_linux.go2
-rw-r--r--src/syscall/setuidgid_linux.go1
-rw-r--r--src/syscall/sockcmsg_unix.go1
-rw-r--r--src/syscall/sockcmsg_unix_other.go1
-rw-r--r--src/syscall/syscall_bsd.go1
-rw-r--r--src/syscall/syscall_bsd_test.go1
-rw-r--r--src/syscall/syscall_freebsd_test.go1
-rw-r--r--src/syscall/syscall_illumos.go1
-rw-r--r--src/syscall/syscall_js.go1
-rw-r--r--src/syscall/syscall_linux_mips64x.go2
-rw-r--r--src/syscall/syscall_linux_mipsx.go2
-rw-r--r--src/syscall/syscall_linux_ppc64x.go2
-rw-r--r--src/syscall/syscall_openbsd1.go1
-rw-r--r--src/syscall/syscall_openbsd_libc.go1
-rw-r--r--src/syscall/syscall_ptrace_test.go1
-rw-r--r--src/syscall/syscall_unix.go1
-rw-r--r--src/syscall/syscall_unix_test.go1
-rw-r--r--src/syscall/tables_js.go1
-rw-r--r--src/syscall/time_fake.go1
-rw-r--r--src/syscall/time_nofake.go1
-rw-r--r--src/syscall/timestruct.go1
-rw-r--r--src/syscall/types_aix.go1
-rw-r--r--src/syscall/types_darwin.go1
-rw-r--r--src/syscall/types_dragonfly.go1
-rw-r--r--src/syscall/types_freebsd.go1
-rw-r--r--src/syscall/types_illumos_amd64.go1
-rw-r--r--src/syscall/types_linux.go1
-rw-r--r--src/syscall/types_netbsd.go1
-rw-r--r--src/syscall/types_openbsd.go1
-rw-r--r--src/syscall/types_solaris.go1
-rw-r--r--src/syscall/zerrors_darwin_amd64.go1
-rw-r--r--src/syscall/zerrors_darwin_arm64.go1
-rw-r--r--src/syscall/zerrors_dragonfly_amd64.go1
-rw-r--r--src/syscall/zerrors_freebsd_386.go1
-rw-r--r--src/syscall/zerrors_freebsd_amd64.go1
-rw-r--r--src/syscall/zerrors_freebsd_arm.go1
-rw-r--r--src/syscall/zerrors_freebsd_arm64.go1
-rw-r--r--src/syscall/zerrors_linux_386.go1
-rw-r--r--src/syscall/zerrors_linux_amd64.go1
-rw-r--r--src/syscall/zerrors_linux_arm.go1
-rw-r--r--src/syscall/zerrors_linux_arm64.go1
-rw-r--r--src/syscall/zerrors_linux_ppc64.go1
-rw-r--r--src/syscall/zerrors_linux_ppc64le.go1
-rw-r--r--src/syscall/zerrors_netbsd_386.go1
-rw-r--r--src/syscall/zerrors_netbsd_amd64.go1
-rw-r--r--src/syscall/zerrors_netbsd_arm.go1
-rw-r--r--src/syscall/zerrors_netbsd_arm64.go1
-rw-r--r--src/syscall/zerrors_openbsd_386.go1
-rw-r--r--src/syscall/zerrors_openbsd_amd64.go1
-rw-r--r--src/syscall/zerrors_openbsd_arm.go1
-rw-r--r--src/syscall/zerrors_solaris_amd64.go1
-rw-r--r--src/syscall/zsyscall_aix_ppc64.go1
-rw-r--r--src/syscall/zsyscall_darwin_amd64.go1
-rw-r--r--src/syscall/zsyscall_darwin_arm64.go1
-rw-r--r--src/syscall/zsyscall_dragonfly_amd64.go1
-rw-r--r--src/syscall/zsyscall_freebsd_386.go1
-rw-r--r--src/syscall/zsyscall_freebsd_amd64.go1
-rw-r--r--src/syscall/zsyscall_freebsd_arm.go1
-rw-r--r--src/syscall/zsyscall_freebsd_arm64.go1
-rw-r--r--src/syscall/zsyscall_linux_386.go1
-rw-r--r--src/syscall/zsyscall_linux_amd64.go1
-rw-r--r--src/syscall/zsyscall_linux_arm.go1
-rw-r--r--src/syscall/zsyscall_linux_arm64.go1
-rw-r--r--src/syscall/zsyscall_linux_mips.go1
-rw-r--r--src/syscall/zsyscall_linux_mips64.go1
-rw-r--r--src/syscall/zsyscall_linux_mips64le.go1
-rw-r--r--src/syscall/zsyscall_linux_mipsle.go1
-rw-r--r--src/syscall/zsyscall_linux_ppc64.go1
-rw-r--r--src/syscall/zsyscall_linux_ppc64le.go1
-rw-r--r--src/syscall/zsyscall_linux_riscv64.go1
-rw-r--r--src/syscall/zsyscall_linux_s390x.go1
-rw-r--r--src/syscall/zsyscall_netbsd_386.go1
-rw-r--r--src/syscall/zsyscall_netbsd_amd64.go1
-rw-r--r--src/syscall/zsyscall_netbsd_arm.go1
-rw-r--r--src/syscall/zsyscall_netbsd_arm64.go1
-rw-r--r--src/syscall/zsyscall_openbsd_386.go1
-rw-r--r--src/syscall/zsyscall_openbsd_amd64.go1
-rw-r--r--src/syscall/zsyscall_openbsd_arm.go1
-rw-r--r--src/syscall/zsyscall_openbsd_arm64.go1
-rw-r--r--src/syscall/zsyscall_openbsd_mips64.go1
-rw-r--r--src/syscall/zsyscall_plan9_386.go1
-rw-r--r--src/syscall/zsyscall_plan9_amd64.go1
-rw-r--r--src/syscall/zsyscall_plan9_arm.go1
-rw-r--r--src/syscall/zsyscall_solaris_amd64.go1
-rw-r--r--src/syscall/zsysnum_darwin_amd64.go1
-rw-r--r--src/syscall/zsysnum_darwin_arm64.go1
-rw-r--r--src/syscall/zsysnum_dragonfly_amd64.go1
-rw-r--r--src/syscall/zsysnum_freebsd_386.go1
-rw-r--r--src/syscall/zsysnum_freebsd_amd64.go1
-rw-r--r--src/syscall/zsysnum_freebsd_arm.go1
-rw-r--r--src/syscall/zsysnum_freebsd_arm64.go1
-rw-r--r--src/syscall/zsysnum_linux_386.go1
-rw-r--r--src/syscall/zsysnum_linux_amd64.go1
-rw-r--r--src/syscall/zsysnum_linux_arm.go1
-rw-r--r--src/syscall/zsysnum_linux_arm64.go1
-rw-r--r--src/syscall/zsysnum_linux_ppc64.go1
-rw-r--r--src/syscall/zsysnum_linux_ppc64le.go1
-rw-r--r--src/syscall/zsysnum_netbsd_386.go1
-rw-r--r--src/syscall/zsysnum_netbsd_amd64.go1
-rw-r--r--src/syscall/zsysnum_netbsd_arm.go1
-rw-r--r--src/syscall/zsysnum_netbsd_arm64.go1
-rw-r--r--src/syscall/zsysnum_openbsd_386.go1
-rw-r--r--src/syscall/zsysnum_openbsd_amd64.go1
-rw-r--r--src/syscall/zsysnum_openbsd_arm.go1
-rw-r--r--src/syscall/zsysnum_solaris_amd64.go1
-rw-r--r--src/syscall/ztypes_darwin_amd64.go1
-rw-r--r--src/syscall/ztypes_darwin_arm64.go1
-rw-r--r--src/syscall/ztypes_dragonfly_amd64.go1
-rw-r--r--src/syscall/ztypes_freebsd_386.go1
-rw-r--r--src/syscall/ztypes_freebsd_amd64.go1
-rw-r--r--src/syscall/ztypes_freebsd_arm.go1
-rw-r--r--src/syscall/ztypes_freebsd_arm64.go1
-rw-r--r--src/syscall/ztypes_linux_386.go1
-rw-r--r--src/syscall/ztypes_linux_amd64.go1
-rw-r--r--src/syscall/ztypes_linux_arm.go1
-rw-r--r--src/syscall/ztypes_linux_arm64.go1
-rw-r--r--src/syscall/ztypes_linux_ppc64.go1
-rw-r--r--src/syscall/ztypes_linux_ppc64le.go1
-rw-r--r--src/syscall/ztypes_netbsd_386.go1
-rw-r--r--src/syscall/ztypes_netbsd_amd64.go1
-rw-r--r--src/syscall/ztypes_netbsd_arm.go1
-rw-r--r--src/syscall/ztypes_netbsd_arm64.go1
-rw-r--r--src/syscall/ztypes_openbsd_386.go1
-rw-r--r--src/syscall/ztypes_openbsd_amd64.go1
-rw-r--r--src/syscall/ztypes_solaris_amd64.go1
161 files changed, 0 insertions, 165 deletions
diff --git a/src/syscall/bpf_bsd.go b/src/syscall/bpf_bsd.go
index 452d4cf14b..735c078895 100644
--- a/src/syscall/bpf_bsd.go
+++ b/src/syscall/bpf_bsd.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build dragonfly || freebsd || netbsd || openbsd
-// +build dragonfly freebsd netbsd openbsd
// Berkeley packet filter for BSD variants
diff --git a/src/syscall/creds_test.go b/src/syscall/creds_test.go
index c1a8b516e8..1ee56fc340 100644
--- a/src/syscall/creds_test.go
+++ b/src/syscall/creds_test.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build linux
-// +build linux
package syscall_test
diff --git a/src/syscall/dirent.go b/src/syscall/dirent.go
index 9e1222e81c..237ea79ad6 100644
--- a/src/syscall/dirent.go
+++ b/src/syscall/dirent.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build aix || darwin || dragonfly || freebsd || (js && wasm) || linux || netbsd || openbsd || solaris
-// +build aix darwin dragonfly freebsd js,wasm linux netbsd openbsd solaris
package syscall
diff --git a/src/syscall/dirent_test.go b/src/syscall/dirent_test.go
index 71b445ba9b..6570bf9217 100644
--- a/src/syscall/dirent_test.go
+++ b/src/syscall/dirent_test.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris
-// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
package syscall_test
diff --git a/src/syscall/endian_big.go b/src/syscall/endian_big.go
index dc0947fa6e..8e3874eb86 100644
--- a/src/syscall/endian_big.go
+++ b/src/syscall/endian_big.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//
//go:build ppc64 || s390x || mips || mips64
-// +build ppc64 s390x mips mips64
package syscall
diff --git a/src/syscall/endian_little.go b/src/syscall/endian_little.go
index a894445f73..edfb6cf164 100644
--- a/src/syscall/endian_little.go
+++ b/src/syscall/endian_little.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//
//go:build 386 || amd64 || arm || arm64 || ppc64le || mips64le || mipsle || riscv64 || wasm
-// +build 386 amd64 arm arm64 ppc64le mips64le mipsle riscv64 wasm
package syscall
diff --git a/src/syscall/env_unix.go b/src/syscall/env_unix.go
index 022ef6ed73..521967c79f 100644
--- a/src/syscall/env_unix.go
+++ b/src/syscall/env_unix.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build aix || darwin || dragonfly || freebsd || (js && wasm) || linux || netbsd || openbsd || solaris || plan9
-// +build aix darwin dragonfly freebsd js,wasm linux netbsd openbsd solaris plan9
// Unix environment variables.
diff --git a/src/syscall/exec_aix_test.go b/src/syscall/exec_aix_test.go
index 17c7ac0664..f2d54a40bd 100644
--- a/src/syscall/exec_aix_test.go
+++ b/src/syscall/exec_aix_test.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build aix
-// +build aix
package syscall
diff --git a/src/syscall/exec_bsd.go b/src/syscall/exec_bsd.go
index d2e50e3dd3..148f5a91aa 100644
--- a/src/syscall/exec_bsd.go
+++ b/src/syscall/exec_bsd.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build dragonfly || netbsd || (openbsd && mips64)
-// +build dragonfly netbsd openbsd,mips64
package syscall
diff --git a/src/syscall/exec_libc.go b/src/syscall/exec_libc.go
index b14abd4e63..c8549c4964 100644
--- a/src/syscall/exec_libc.go
+++ b/src/syscall/exec_libc.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build aix || solaris
-// +build aix solaris
// This file handles forkAndExecInChild function for OS using libc syscall like AIX or Solaris.
diff --git a/src/syscall/exec_libc2.go b/src/syscall/exec_libc2.go
index bd98109d07..b05f053bbf 100644
--- a/src/syscall/exec_libc2.go
+++ b/src/syscall/exec_libc2.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build darwin || (openbsd && !mips64)
-// +build darwin openbsd,!mips64
package syscall
diff --git a/src/syscall/exec_linux.go b/src/syscall/exec_linux.go
index e1506e1e2b..0f0dee8ea5 100644
--- a/src/syscall/exec_linux.go
+++ b/src/syscall/exec_linux.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build linux
-// +build linux
package syscall
diff --git a/src/syscall/exec_linux_test.go b/src/syscall/exec_linux_test.go
index 79b2633aca..80440ca4d6 100644
--- a/src/syscall/exec_linux_test.go
+++ b/src/syscall/exec_linux_test.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build linux
-// +build linux
package syscall_test
diff --git a/src/syscall/exec_pdeathsig_test.go b/src/syscall/exec_pdeathsig_test.go
index 6533d3a138..96ae27b494 100644
--- a/src/syscall/exec_pdeathsig_test.go
+++ b/src/syscall/exec_pdeathsig_test.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build freebsd || linux
-// +build freebsd linux
package syscall_test
diff --git a/src/syscall/exec_solaris_test.go b/src/syscall/exec_solaris_test.go
index f54fc8385d..90e5349bf4 100644
--- a/src/syscall/exec_solaris_test.go
+++ b/src/syscall/exec_solaris_test.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build solaris
-// +build solaris
package syscall
diff --git a/src/syscall/exec_unix.go b/src/syscall/exec_unix.go
index 54b18dccd7..64eb5ed9f0 100644
--- a/src/syscall/exec_unix.go
+++ b/src/syscall/exec_unix.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris
-// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
// Fork, exec, wait, etc.
diff --git a/src/syscall/exec_unix_test.go b/src/syscall/exec_unix_test.go
index 866671ba2a..55f5f7025a 100644
--- a/src/syscall/exec_unix_test.go
+++ b/src/syscall/exec_unix_test.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris
-// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
package syscall_test
diff --git a/src/syscall/export_unix_test.go b/src/syscall/export_unix_test.go
index 2d2c67673d..2f678d2566 100644
--- a/src/syscall/export_unix_test.go
+++ b/src/syscall/export_unix_test.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build dragonfly || freebsd || linux || netbsd || openbsd
-// +build dragonfly freebsd linux netbsd openbsd
package syscall
diff --git a/src/syscall/flock.go b/src/syscall/flock.go
index 3b43b6aede..8cb8f16153 100644
--- a/src/syscall/flock.go
+++ b/src/syscall/flock.go
@@ -1,5 +1,4 @@
//go:build linux || freebsd || openbsd || netbsd || dragonfly
-// +build linux freebsd openbsd netbsd dragonfly
// Copyright 2014 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
diff --git a/src/syscall/flock_linux_32bit.go b/src/syscall/flock_linux_32bit.go
index 2f3277497c..76a09fc47e 100644
--- a/src/syscall/flock_linux_32bit.go
+++ b/src/syscall/flock_linux_32bit.go
@@ -6,7 +6,6 @@
// internal/syscall/unix/fcntl_linux_32bit.go.
//go:build (linux && 386) || (linux && arm) || (linux && mips) || (linux && mipsle)
-// +build linux,386 linux,arm linux,mips linux,mipsle
package syscall
diff --git a/src/syscall/forkpipe.go b/src/syscall/forkpipe.go
index 79cbdf4150..6f7d29ce67 100644
--- a/src/syscall/forkpipe.go
+++ b/src/syscall/forkpipe.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build aix || darwin || solaris
-// +build aix darwin solaris
package syscall
diff --git a/src/syscall/forkpipe2.go b/src/syscall/forkpipe2.go
index e57240c156..312244c0d8 100644
--- a/src/syscall/forkpipe2.go
+++ b/src/syscall/forkpipe2.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build dragonfly || freebsd || netbsd || openbsd
-// +build dragonfly freebsd netbsd openbsd
package syscall
diff --git a/src/syscall/fs_js.go b/src/syscall/fs_js.go
index 0170516201..84a554e8b9 100644
--- a/src/syscall/fs_js.go
+++ b/src/syscall/fs_js.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build js && wasm
-// +build js,wasm
package syscall
diff --git a/src/syscall/getdirentries_test.go b/src/syscall/getdirentries_test.go
index 814e656649..ddd8208c15 100644
--- a/src/syscall/getdirentries_test.go
+++ b/src/syscall/getdirentries_test.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build darwin || freebsd || netbsd || openbsd
-// +build darwin freebsd netbsd openbsd
package syscall_test
diff --git a/src/syscall/mkasm.go b/src/syscall/mkasm.go
index e0ec46681d..dce61f322c 100644
--- a/src/syscall/mkasm.go
+++ b/src/syscall/mkasm.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build ignore
-// +build ignore
// mkasm.go generates assembly trampolines to call library routines from Go.
// This program must be run after mksyscall.pl.
diff --git a/src/syscall/mkpost.go b/src/syscall/mkpost.go
index 94e8d92eff..4f81b81b57 100644
--- a/src/syscall/mkpost.go
+++ b/src/syscall/mkpost.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build ignore
-// +build ignore
// mkpost processes the output of cgo -godefs to
// modify the generated types. It is used to clean up
diff --git a/src/syscall/mksyscall_windows.go b/src/syscall/mksyscall_windows.go
index d8e8a713c5..39517bc7f1 100644
--- a/src/syscall/mksyscall_windows.go
+++ b/src/syscall/mksyscall_windows.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build ignore
-// +build ignore
// mksyscall_windows wraps golang.org/x/sys/windows/mkwinsyscall.
package main
diff --git a/src/syscall/mmap_unix_test.go b/src/syscall/mmap_unix_test.go
index e3909f1afb..3e9c08d67d 100644
--- a/src/syscall/mmap_unix_test.go
+++ b/src/syscall/mmap_unix_test.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd
-// +build aix darwin dragonfly freebsd linux netbsd openbsd
package syscall_test
diff --git a/src/syscall/msan.go b/src/syscall/msan.go
index 89fb75f03c..89c580799f 100644
--- a/src/syscall/msan.go
+++ b/src/syscall/msan.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build msan
-// +build msan
package syscall
diff --git a/src/syscall/msan0.go b/src/syscall/msan0.go
index 85097025a0..fba8a5f716 100644
--- a/src/syscall/msan0.go
+++ b/src/syscall/msan0.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build !msan
-// +build !msan
package syscall
diff --git a/src/syscall/net_js.go b/src/syscall/net_js.go
index 2998c2159c..4f8258ddb3 100644
--- a/src/syscall/net_js.go
+++ b/src/syscall/net_js.go
@@ -6,7 +6,6 @@
// This file only exists to make the compiler happy.
//go:build js && wasm
-// +build js,wasm
package syscall
diff --git a/src/syscall/ptrace_darwin.go b/src/syscall/ptrace_darwin.go
index b968c7c7f3..519e451c73 100644
--- a/src/syscall/ptrace_darwin.go
+++ b/src/syscall/ptrace_darwin.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build !ios
-// +build !ios
package syscall
diff --git a/src/syscall/ptrace_ios.go b/src/syscall/ptrace_ios.go
index 5209d1e0dd..fa8d000715 100644
--- a/src/syscall/ptrace_ios.go
+++ b/src/syscall/ptrace_ios.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build ios
-// +build ios
package syscall
diff --git a/src/syscall/route_bsd.go b/src/syscall/route_bsd.go
index e9321a4e64..8e47ff888e 100644
--- a/src/syscall/route_bsd.go
+++ b/src/syscall/route_bsd.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build darwin || dragonfly || freebsd || netbsd || openbsd
-// +build darwin dragonfly freebsd netbsd openbsd
package syscall
diff --git a/src/syscall/route_freebsd_32bit.go b/src/syscall/route_freebsd_32bit.go
index 412833a37c..c70f0bb0d3 100644
--- a/src/syscall/route_freebsd_32bit.go
+++ b/src/syscall/route_freebsd_32bit.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build (freebsd && 386) || (freebsd && arm)
-// +build freebsd,386 freebsd,arm
package syscall
diff --git a/src/syscall/route_freebsd_64bit.go b/src/syscall/route_freebsd_64bit.go
index 5300bed471..9febdfaf35 100644
--- a/src/syscall/route_freebsd_64bit.go
+++ b/src/syscall/route_freebsd_64bit.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build (freebsd && amd64) || (freebsd && arm64)
-// +build freebsd,amd64 freebsd,arm64
package syscall
diff --git a/src/syscall/setuidgid_32_linux.go b/src/syscall/setuidgid_32_linux.go
index 64897fe43c..6920f33987 100644
--- a/src/syscall/setuidgid_32_linux.go
+++ b/src/syscall/setuidgid_32_linux.go
@@ -3,8 +3,6 @@
// license that can be found in the LICENSE file.
//go:build linux && (386 || arm)
-// +build linux
-// +build 386 arm
package syscall
diff --git a/src/syscall/setuidgid_linux.go b/src/syscall/setuidgid_linux.go
index 3b36f66fa2..c995d258eb 100644
--- a/src/syscall/setuidgid_linux.go
+++ b/src/syscall/setuidgid_linux.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build linux && !386 && !arm
-// +build linux,!386,!arm
package syscall
diff --git a/src/syscall/sockcmsg_unix.go b/src/syscall/sockcmsg_unix.go
index 99913b9a88..a3dcf818da 100644
--- a/src/syscall/sockcmsg_unix.go
+++ b/src/syscall/sockcmsg_unix.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris
-// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
// Socket control messages
diff --git a/src/syscall/sockcmsg_unix_other.go b/src/syscall/sockcmsg_unix_other.go
index bd8dcfa34c..845bd9df99 100644
--- a/src/syscall/sockcmsg_unix_other.go
+++ b/src/syscall/sockcmsg_unix_other.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build aix || darwin || freebsd || linux || netbsd || openbsd || solaris
-// +build aix darwin freebsd linux netbsd openbsd solaris
package syscall
diff --git a/src/syscall/syscall_bsd.go b/src/syscall/syscall_bsd.go
index 40b1c07a90..ebe99ff230 100644
--- a/src/syscall/syscall_bsd.go
+++ b/src/syscall/syscall_bsd.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build darwin || dragonfly || freebsd || netbsd || openbsd
-// +build darwin dragonfly freebsd netbsd openbsd
// BSD system call wrappers shared by *BSD based systems
// including OS X (Darwin) and FreeBSD. Like the other
diff --git a/src/syscall/syscall_bsd_test.go b/src/syscall/syscall_bsd_test.go
index 2d8a8cbfe6..98fab1d396 100644
--- a/src/syscall/syscall_bsd_test.go
+++ b/src/syscall/syscall_bsd_test.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build darwin || dragonfly || freebsd || openbsd
-// +build darwin dragonfly freebsd openbsd
package syscall_test
diff --git a/src/syscall/syscall_freebsd_test.go b/src/syscall/syscall_freebsd_test.go
index 72cd133b85..f04b12b6d3 100644
--- a/src/syscall/syscall_freebsd_test.go
+++ b/src/syscall/syscall_freebsd_test.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build freebsd
-// +build freebsd
package syscall_test
diff --git a/src/syscall/syscall_illumos.go b/src/syscall/syscall_illumos.go
index ef95fe58f7..de6b160048 100644
--- a/src/syscall/syscall_illumos.go
+++ b/src/syscall/syscall_illumos.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build illumos
-// +build illumos
// Illumos system calls not present on Solaris.
diff --git a/src/syscall/syscall_js.go b/src/syscall/syscall_js.go
index ed70d62284..cd95499063 100644
--- a/src/syscall/syscall_js.go
+++ b/src/syscall/syscall_js.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build js && wasm
-// +build js,wasm
package syscall
diff --git a/src/syscall/syscall_linux_mips64x.go b/src/syscall/syscall_linux_mips64x.go
index fa0d2799ed..7c9dd80614 100644
--- a/src/syscall/syscall_linux_mips64x.go
+++ b/src/syscall/syscall_linux_mips64x.go
@@ -3,8 +3,6 @@
// license that can be found in the LICENSE file.
//go:build linux && (mips64 || mips64le)
-// +build linux
-// +build mips64 mips64le
package syscall
diff --git a/src/syscall/syscall_linux_mipsx.go b/src/syscall/syscall_linux_mipsx.go
index 568523eb27..741eeb14bb 100644
--- a/src/syscall/syscall_linux_mipsx.go
+++ b/src/syscall/syscall_linux_mipsx.go
@@ -3,8 +3,6 @@
// license that can be found in the LICENSE file.
//go:build linux && (mips || mipsle)
-// +build linux
-// +build mips mipsle
package syscall
diff --git a/src/syscall/syscall_linux_ppc64x.go b/src/syscall/syscall_linux_ppc64x.go
index 3e73f6f2a4..cc1b72e0e7 100644
--- a/src/syscall/syscall_linux_ppc64x.go
+++ b/src/syscall/syscall_linux_ppc64x.go
@@ -3,8 +3,6 @@
// license that can be found in the LICENSE file.
//go:build linux && (ppc64 || ppc64le)
-// +build linux
-// +build ppc64 ppc64le
package syscall
diff --git a/src/syscall/syscall_openbsd1.go b/src/syscall/syscall_openbsd1.go
index 15870ce1ee..bddeda637a 100644
--- a/src/syscall/syscall_openbsd1.go
+++ b/src/syscall/syscall_openbsd1.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build openbsd && mips64
-// +build openbsd,mips64
package syscall
diff --git a/src/syscall/syscall_openbsd_libc.go b/src/syscall/syscall_openbsd_libc.go
index e67ee4e571..15b68fd0fc 100644
--- a/src/syscall/syscall_openbsd_libc.go
+++ b/src/syscall/syscall_openbsd_libc.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build openbsd && !mips64
-// +build openbsd,!mips64
package syscall
diff --git a/src/syscall/syscall_ptrace_test.go b/src/syscall/syscall_ptrace_test.go
index 45729d9e8e..5b128de779 100644
--- a/src/syscall/syscall_ptrace_test.go
+++ b/src/syscall/syscall_ptrace_test.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build darwin || dragonfly || freebsd || linux || netbsd || openbsd
-// +build darwin dragonfly freebsd linux netbsd openbsd
package syscall_test
diff --git a/src/syscall/syscall_unix.go b/src/syscall/syscall_unix.go
index 101e39c7d0..9413db3832 100644
--- a/src/syscall/syscall_unix.go
+++ b/src/syscall/syscall_unix.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris
-// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
package syscall
diff --git a/src/syscall/syscall_unix_test.go b/src/syscall/syscall_unix_test.go
index af0bc856ee..7cc78c2147 100644
--- a/src/syscall/syscall_unix_test.go
+++ b/src/syscall/syscall_unix_test.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris
-// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
package syscall_test
diff --git a/src/syscall/tables_js.go b/src/syscall/tables_js.go
index 64d958415d..78a1e71a01 100644
--- a/src/syscall/tables_js.go
+++ b/src/syscall/tables_js.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build js && wasm
-// +build js,wasm
package syscall
diff --git a/src/syscall/time_fake.go b/src/syscall/time_fake.go
index cf88aeb921..b60fe60b03 100644
--- a/src/syscall/time_fake.go
+++ b/src/syscall/time_fake.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build faketime
-// +build faketime
package syscall
diff --git a/src/syscall/time_nofake.go b/src/syscall/time_nofake.go
index 5eaa2daabd..231875d8c3 100644
--- a/src/syscall/time_nofake.go
+++ b/src/syscall/time_nofake.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build !faketime
-// +build !faketime
package syscall
diff --git a/src/syscall/timestruct.go b/src/syscall/timestruct.go
index e4f3d50f56..7cf4be45b1 100644
--- a/src/syscall/timestruct.go
+++ b/src/syscall/timestruct.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build aix || darwin || dragonfly || freebsd || (js && wasm) || linux || netbsd || openbsd || solaris
-// +build aix darwin dragonfly freebsd js,wasm linux netbsd openbsd solaris
package syscall
diff --git a/src/syscall/types_aix.go b/src/syscall/types_aix.go
index 6588d690ea..9e05af90ee 100644
--- a/src/syscall/types_aix.go
+++ b/src/syscall/types_aix.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build ignore
-// +build ignore
/*
Input to cgo -godefs. See also mkerrors.sh and mkall.sh
diff --git a/src/syscall/types_darwin.go b/src/syscall/types_darwin.go
index c2a32c0782..c9404aaf1b 100644
--- a/src/syscall/types_darwin.go
+++ b/src/syscall/types_darwin.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build ignore
-// +build ignore
/*
Input to cgo -godefs. See also mkerrors.sh and mkall.sh
diff --git a/src/syscall/types_dragonfly.go b/src/syscall/types_dragonfly.go
index 9f8d5bc3dd..33420c4a92 100644
--- a/src/syscall/types_dragonfly.go
+++ b/src/syscall/types_dragonfly.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build ignore
-// +build ignore
/*
Input to cgo -godefs. See also mkerrors.sh and mkall.sh
diff --git a/src/syscall/types_freebsd.go b/src/syscall/types_freebsd.go
index d741411703..83bc7dc499 100644
--- a/src/syscall/types_freebsd.go
+++ b/src/syscall/types_freebsd.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build ignore
-// +build ignore
/*
Input to cgo -godefs. See also mkerrors.sh and mkall.sh
diff --git a/src/syscall/types_illumos_amd64.go b/src/syscall/types_illumos_amd64.go
index 254e3e7cfe..22c172f1f7 100644
--- a/src/syscall/types_illumos_amd64.go
+++ b/src/syscall/types_illumos_amd64.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build illumos
-// +build illumos
// Illumos consts not present on Solaris. These are added manually rather than
// auto-generated by mkerror.sh
diff --git a/src/syscall/types_linux.go b/src/syscall/types_linux.go
index bf76be978b..23a76edd90 100644
--- a/src/syscall/types_linux.go
+++ b/src/syscall/types_linux.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build ignore
-// +build ignore
/*
Input to cgo -godefs. See also mkerrors.sh and mkall.sh
diff --git a/src/syscall/types_netbsd.go b/src/syscall/types_netbsd.go
index 0bd25ea3c9..e53e8c9386 100644
--- a/src/syscall/types_netbsd.go
+++ b/src/syscall/types_netbsd.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build ignore
-// +build ignore
/*
Input to cgo -godefs. See also mkerrors.sh and mkall.sh
diff --git a/src/syscall/types_openbsd.go b/src/syscall/types_openbsd.go
index 8b41cdca23..bfe6e9f592 100644
--- a/src/syscall/types_openbsd.go
+++ b/src/syscall/types_openbsd.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build ignore
-// +build ignore
/*
Input to cgo -godefs. See also mkerrors.sh and mkall.sh
diff --git a/src/syscall/types_solaris.go b/src/syscall/types_solaris.go
index 179f791481..2f56bc0601 100644
--- a/src/syscall/types_solaris.go
+++ b/src/syscall/types_solaris.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build ignore
-// +build ignore
/*
Input to cgo -godefs. See also mkerrors.sh and mkall.sh
diff --git a/src/syscall/zerrors_darwin_amd64.go b/src/syscall/zerrors_darwin_amd64.go
index 0b9897284c..ecbe89c547 100644
--- a/src/syscall/zerrors_darwin_amd64.go
+++ b/src/syscall/zerrors_darwin_amd64.go
@@ -5,7 +5,6 @@
// cgo -godefs -- -m64 _const.go
//go:build amd64 && darwin
-// +build amd64,darwin
package syscall
diff --git a/src/syscall/zerrors_darwin_arm64.go b/src/syscall/zerrors_darwin_arm64.go
index 5f210fd1c4..fa7cb845c3 100644
--- a/src/syscall/zerrors_darwin_arm64.go
+++ b/src/syscall/zerrors_darwin_arm64.go
@@ -5,7 +5,6 @@
// cgo -godefs -- -m64 _const.go
//go:build arm64 && darwin
-// +build arm64,darwin
package syscall
diff --git a/src/syscall/zerrors_dragonfly_amd64.go b/src/syscall/zerrors_dragonfly_amd64.go
index 35e2a52d25..bca2f50c96 100644
--- a/src/syscall/zerrors_dragonfly_amd64.go
+++ b/src/syscall/zerrors_dragonfly_amd64.go
@@ -5,7 +5,6 @@
// cgo -godefs -- -m64 _const.go
//go:build amd64 && dragonfly
-// +build amd64,dragonfly
package syscall
diff --git a/src/syscall/zerrors_freebsd_386.go b/src/syscall/zerrors_freebsd_386.go
index aec26ad778..b1441e76a3 100644
--- a/src/syscall/zerrors_freebsd_386.go
+++ b/src/syscall/zerrors_freebsd_386.go
@@ -5,7 +5,6 @@
// cgo -godefs -- -m32 _const.go
//go:build 386 && freebsd
-// +build 386,freebsd
package syscall
diff --git a/src/syscall/zerrors_freebsd_amd64.go b/src/syscall/zerrors_freebsd_amd64.go
index d6d13e4155..3aed004986 100644
--- a/src/syscall/zerrors_freebsd_amd64.go
+++ b/src/syscall/zerrors_freebsd_amd64.go
@@ -5,7 +5,6 @@
// cgo -godefs -- -m64 _const.go
//go:build amd64 && freebsd
-// +build amd64,freebsd
package syscall
diff --git a/src/syscall/zerrors_freebsd_arm.go b/src/syscall/zerrors_freebsd_arm.go
index 15c714fad8..e1f91ff86c 100644
--- a/src/syscall/zerrors_freebsd_arm.go
+++ b/src/syscall/zerrors_freebsd_arm.go
@@ -5,7 +5,6 @@
// cgo -godefs -- _const.go
//go:build arm && freebsd
-// +build arm,freebsd
package syscall
diff --git a/src/syscall/zerrors_freebsd_arm64.go b/src/syscall/zerrors_freebsd_arm64.go
index b20ce7d823..d0cb6c8ac7 100644
--- a/src/syscall/zerrors_freebsd_arm64.go
+++ b/src/syscall/zerrors_freebsd_arm64.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build freebsd && arm64
-// +build freebsd,arm64
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs -- -m64 _const.go
diff --git a/src/syscall/zerrors_linux_386.go b/src/syscall/zerrors_linux_386.go
index fb64932ad6..5e4c867bc9 100644
--- a/src/syscall/zerrors_linux_386.go
+++ b/src/syscall/zerrors_linux_386.go
@@ -5,7 +5,6 @@
// cgo -godefs -- -m32 _const.go
//go:build 386 && linux
-// +build 386,linux
package syscall
diff --git a/src/syscall/zerrors_linux_amd64.go b/src/syscall/zerrors_linux_amd64.go
index 3a92bcdbb4..3ff6e498e7 100644
--- a/src/syscall/zerrors_linux_amd64.go
+++ b/src/syscall/zerrors_linux_amd64.go
@@ -5,7 +5,6 @@
// cgo -godefs -- -m64 _const.go
//go:build amd64 && linux
-// +build amd64,linux
package syscall
diff --git a/src/syscall/zerrors_linux_arm.go b/src/syscall/zerrors_linux_arm.go
index e013d8e7fd..35825cc9fb 100644
--- a/src/syscall/zerrors_linux_arm.go
+++ b/src/syscall/zerrors_linux_arm.go
@@ -5,7 +5,6 @@
// cgo -godefs -- _const.go
//go:build arm && linux
-// +build arm,linux
package syscall
diff --git a/src/syscall/zerrors_linux_arm64.go b/src/syscall/zerrors_linux_arm64.go
index 1a4d33e3fd..444b8816d5 100644
--- a/src/syscall/zerrors_linux_arm64.go
+++ b/src/syscall/zerrors_linux_arm64.go
@@ -5,7 +5,6 @@
// cgo -godefs -- _const.go
//go:build arm64 && linux
-// +build arm64,linux
package syscall
diff --git a/src/syscall/zerrors_linux_ppc64.go b/src/syscall/zerrors_linux_ppc64.go
index 1dda43be70..dd439acc58 100644
--- a/src/syscall/zerrors_linux_ppc64.go
+++ b/src/syscall/zerrors_linux_ppc64.go
@@ -5,7 +5,6 @@
// cgo -godefs -- -m64 _const.go
//go:build ppc64 && linux
-// +build ppc64,linux
package syscall
diff --git a/src/syscall/zerrors_linux_ppc64le.go b/src/syscall/zerrors_linux_ppc64le.go
index 6d56f1c998..b71cb0b4e7 100644
--- a/src/syscall/zerrors_linux_ppc64le.go
+++ b/src/syscall/zerrors_linux_ppc64le.go
@@ -5,7 +5,6 @@
// cgo -godefs -- -m64 _const.go
//go:build ppc64le && linux
-// +build ppc64le,linux
package syscall
diff --git a/src/syscall/zerrors_netbsd_386.go b/src/syscall/zerrors_netbsd_386.go
index 934e9ef073..b2fcb65782 100644
--- a/src/syscall/zerrors_netbsd_386.go
+++ b/src/syscall/zerrors_netbsd_386.go
@@ -5,7 +5,6 @@
// cgo -godefs -- -m32 _const.go
//go:build 386 && netbsd
-// +build 386,netbsd
package syscall
diff --git a/src/syscall/zerrors_netbsd_amd64.go b/src/syscall/zerrors_netbsd_amd64.go
index 0f5ad61a9f..dc52c3ca57 100644
--- a/src/syscall/zerrors_netbsd_amd64.go
+++ b/src/syscall/zerrors_netbsd_amd64.go
@@ -5,7 +5,6 @@
// cgo -godefs -- -m64 _const.go
//go:build amd64 && netbsd
-// +build amd64,netbsd
package syscall
diff --git a/src/syscall/zerrors_netbsd_arm.go b/src/syscall/zerrors_netbsd_arm.go
index 9d8678750d..3137e18a24 100644
--- a/src/syscall/zerrors_netbsd_arm.go
+++ b/src/syscall/zerrors_netbsd_arm.go
@@ -5,7 +5,6 @@
// cgo -godefs -- -marm _const.go
//go:build arm && netbsd
-// +build arm,netbsd
package syscall
diff --git a/src/syscall/zerrors_netbsd_arm64.go b/src/syscall/zerrors_netbsd_arm64.go
index 7adb72f7ed..cc1b0088c9 100644
--- a/src/syscall/zerrors_netbsd_arm64.go
+++ b/src/syscall/zerrors_netbsd_arm64.go
@@ -5,7 +5,6 @@
// cgo -godefs -- -m64 _const.go
//go:build arm64 && netbsd
-// +build arm64,netbsd
package syscall
diff --git a/src/syscall/zerrors_openbsd_386.go b/src/syscall/zerrors_openbsd_386.go
index a8457c6edf..d17ecb96e5 100644
--- a/src/syscall/zerrors_openbsd_386.go
+++ b/src/syscall/zerrors_openbsd_386.go
@@ -5,7 +5,6 @@
// cgo -godefs -- -m32 _const.go
//go:build 386 && openbsd
-// +build 386,openbsd
package syscall
diff --git a/src/syscall/zerrors_openbsd_amd64.go b/src/syscall/zerrors_openbsd_amd64.go
index eb19537a2a..4904e7614f 100644
--- a/src/syscall/zerrors_openbsd_amd64.go
+++ b/src/syscall/zerrors_openbsd_amd64.go
@@ -5,7 +5,6 @@
// cgo -godefs -- -m64 _const.go
//go:build amd64 && openbsd
-// +build amd64,openbsd
package syscall
diff --git a/src/syscall/zerrors_openbsd_arm.go b/src/syscall/zerrors_openbsd_arm.go
index 89a4e6d89a..76ac9173a9 100644
--- a/src/syscall/zerrors_openbsd_arm.go
+++ b/src/syscall/zerrors_openbsd_arm.go
@@ -5,7 +5,6 @@
// cgo -godefs -- _const.go
//go:build arm && openbsd
-// +build arm,openbsd
package syscall
diff --git a/src/syscall/zerrors_solaris_amd64.go b/src/syscall/zerrors_solaris_amd64.go
index b7dee69602..fb25dacee4 100644
--- a/src/syscall/zerrors_solaris_amd64.go
+++ b/src/syscall/zerrors_solaris_amd64.go
@@ -5,7 +5,6 @@
// cgo -godefs -- -m64 _const.go
//go:build amd64 && solaris
-// +build amd64,solaris
package syscall
diff --git a/src/syscall/zsyscall_aix_ppc64.go b/src/syscall/zsyscall_aix_ppc64.go
index 134ae41165..94f1b4371c 100644
--- a/src/syscall/zsyscall_aix_ppc64.go
+++ b/src/syscall/zsyscall_aix_ppc64.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build aix && ppc64
-// +build aix,ppc64
package syscall
diff --git a/src/syscall/zsyscall_darwin_amd64.go b/src/syscall/zsyscall_darwin_amd64.go
index ff88fef74e..0ccdaf2d0e 100644
--- a/src/syscall/zsyscall_darwin_amd64.go
+++ b/src/syscall/zsyscall_darwin_amd64.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build darwin && amd64
-// +build darwin,amd64
package syscall
diff --git a/src/syscall/zsyscall_darwin_arm64.go b/src/syscall/zsyscall_darwin_arm64.go
index b096b5e662..09bf34bb3c 100644
--- a/src/syscall/zsyscall_darwin_arm64.go
+++ b/src/syscall/zsyscall_darwin_arm64.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build darwin && arm64
-// +build darwin,arm64
package syscall
diff --git a/src/syscall/zsyscall_dragonfly_amd64.go b/src/syscall/zsyscall_dragonfly_amd64.go
index aa327c0010..5d5576d76f 100644
--- a/src/syscall/zsyscall_dragonfly_amd64.go
+++ b/src/syscall/zsyscall_dragonfly_amd64.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build dragonfly && amd64
-// +build dragonfly,amd64
package syscall
diff --git a/src/syscall/zsyscall_freebsd_386.go b/src/syscall/zsyscall_freebsd_386.go
index 7137d66f0b..ed0eb9fa15 100644
--- a/src/syscall/zsyscall_freebsd_386.go
+++ b/src/syscall/zsyscall_freebsd_386.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build freebsd && 386
-// +build freebsd,386
package syscall
diff --git a/src/syscall/zsyscall_freebsd_amd64.go b/src/syscall/zsyscall_freebsd_amd64.go
index d721dafde2..e291a56756 100644
--- a/src/syscall/zsyscall_freebsd_amd64.go
+++ b/src/syscall/zsyscall_freebsd_amd64.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build freebsd && amd64
-// +build freebsd,amd64
package syscall
diff --git a/src/syscall/zsyscall_freebsd_arm.go b/src/syscall/zsyscall_freebsd_arm.go
index d9dbea921a..7dd856fd97 100644
--- a/src/syscall/zsyscall_freebsd_arm.go
+++ b/src/syscall/zsyscall_freebsd_arm.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build freebsd && arm
-// +build freebsd,arm
package syscall
diff --git a/src/syscall/zsyscall_freebsd_arm64.go b/src/syscall/zsyscall_freebsd_arm64.go
index a24f0115e2..229a9a2238 100644
--- a/src/syscall/zsyscall_freebsd_arm64.go
+++ b/src/syscall/zsyscall_freebsd_arm64.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build freebsd && arm64
-// +build freebsd,arm64
package syscall
diff --git a/src/syscall/zsyscall_linux_386.go b/src/syscall/zsyscall_linux_386.go
index a1394d32cb..c385dd3ca1 100644
--- a/src/syscall/zsyscall_linux_386.go
+++ b/src/syscall/zsyscall_linux_386.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build linux && 386
-// +build linux,386
package syscall
diff --git a/src/syscall/zsyscall_linux_amd64.go b/src/syscall/zsyscall_linux_amd64.go
index de6047d11c..2059271324 100644
--- a/src/syscall/zsyscall_linux_amd64.go
+++ b/src/syscall/zsyscall_linux_amd64.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build linux && amd64
-// +build linux,amd64
package syscall
diff --git a/src/syscall/zsyscall_linux_arm.go b/src/syscall/zsyscall_linux_arm.go
index 3663b2eead..50498c6eb6 100644
--- a/src/syscall/zsyscall_linux_arm.go
+++ b/src/syscall/zsyscall_linux_arm.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build linux && arm
-// +build linux,arm
package syscall
diff --git a/src/syscall/zsyscall_linux_arm64.go b/src/syscall/zsyscall_linux_arm64.go
index 19a9c0ca61..6714123f9c 100644
--- a/src/syscall/zsyscall_linux_arm64.go
+++ b/src/syscall/zsyscall_linux_arm64.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build linux && arm64
-// +build linux,arm64
package syscall
diff --git a/src/syscall/zsyscall_linux_mips.go b/src/syscall/zsyscall_linux_mips.go
index 966b2e1f2c..c6f4878ff7 100644
--- a/src/syscall/zsyscall_linux_mips.go
+++ b/src/syscall/zsyscall_linux_mips.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build linux && mips
-// +build linux,mips
package syscall
diff --git a/src/syscall/zsyscall_linux_mips64.go b/src/syscall/zsyscall_linux_mips64.go
index c6812a0515..5187c28ebb 100644
--- a/src/syscall/zsyscall_linux_mips64.go
+++ b/src/syscall/zsyscall_linux_mips64.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build linux && mips64
-// +build linux,mips64
package syscall
diff --git a/src/syscall/zsyscall_linux_mips64le.go b/src/syscall/zsyscall_linux_mips64le.go
index eaaf7dfb41..f3dacfeeda 100644
--- a/src/syscall/zsyscall_linux_mips64le.go
+++ b/src/syscall/zsyscall_linux_mips64le.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build linux && mips64le
-// +build linux,mips64le
package syscall
diff --git a/src/syscall/zsyscall_linux_mipsle.go b/src/syscall/zsyscall_linux_mipsle.go
index bb159f1fe7..fbc543709f 100644
--- a/src/syscall/zsyscall_linux_mipsle.go
+++ b/src/syscall/zsyscall_linux_mipsle.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build linux && mipsle
-// +build linux,mipsle
package syscall
diff --git a/src/syscall/zsyscall_linux_ppc64.go b/src/syscall/zsyscall_linux_ppc64.go
index 8a4328560a..b71dca2b37 100644
--- a/src/syscall/zsyscall_linux_ppc64.go
+++ b/src/syscall/zsyscall_linux_ppc64.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build linux && ppc64
-// +build linux,ppc64
package syscall
diff --git a/src/syscall/zsyscall_linux_ppc64le.go b/src/syscall/zsyscall_linux_ppc64le.go
index 274b55ce6b..193fbbc541 100644
--- a/src/syscall/zsyscall_linux_ppc64le.go
+++ b/src/syscall/zsyscall_linux_ppc64le.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build linux && ppc64le
-// +build linux,ppc64le
package syscall
diff --git a/src/syscall/zsyscall_linux_riscv64.go b/src/syscall/zsyscall_linux_riscv64.go
index e21dc46f32..33b1e9b431 100644
--- a/src/syscall/zsyscall_linux_riscv64.go
+++ b/src/syscall/zsyscall_linux_riscv64.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build linux && riscv64
-// +build linux,riscv64
package syscall
diff --git a/src/syscall/zsyscall_linux_s390x.go b/src/syscall/zsyscall_linux_s390x.go
index fc667e7c3f..2ab78c71bf 100644
--- a/src/syscall/zsyscall_linux_s390x.go
+++ b/src/syscall/zsyscall_linux_s390x.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build linux && s390x
-// +build linux,s390x
package syscall
diff --git a/src/syscall/zsyscall_netbsd_386.go b/src/syscall/zsyscall_netbsd_386.go
index 07ff5fba5f..408318181a 100644
--- a/src/syscall/zsyscall_netbsd_386.go
+++ b/src/syscall/zsyscall_netbsd_386.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build netbsd && 386
-// +build netbsd,386
package syscall
diff --git a/src/syscall/zsyscall_netbsd_amd64.go b/src/syscall/zsyscall_netbsd_amd64.go
index ffb4e059a4..2039cf6d0e 100644
--- a/src/syscall/zsyscall_netbsd_amd64.go
+++ b/src/syscall/zsyscall_netbsd_amd64.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build netbsd && amd64
-// +build netbsd,amd64
package syscall
diff --git a/src/syscall/zsyscall_netbsd_arm.go b/src/syscall/zsyscall_netbsd_arm.go
index 37df77e5e8..3c287ea223 100644
--- a/src/syscall/zsyscall_netbsd_arm.go
+++ b/src/syscall/zsyscall_netbsd_arm.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build netbsd && arm
-// +build netbsd,arm
package syscall
diff --git a/src/syscall/zsyscall_netbsd_arm64.go b/src/syscall/zsyscall_netbsd_arm64.go
index c5eb57a226..1d40db9e6b 100644
--- a/src/syscall/zsyscall_netbsd_arm64.go
+++ b/src/syscall/zsyscall_netbsd_arm64.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build netbsd && arm64
-// +build netbsd,arm64
package syscall
diff --git a/src/syscall/zsyscall_openbsd_386.go b/src/syscall/zsyscall_openbsd_386.go
index 1ff5c95fa1..5f95d7a9c6 100644
--- a/src/syscall/zsyscall_openbsd_386.go
+++ b/src/syscall/zsyscall_openbsd_386.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build openbsd && 386
-// +build openbsd,386
package syscall
diff --git a/src/syscall/zsyscall_openbsd_amd64.go b/src/syscall/zsyscall_openbsd_amd64.go
index 85cb195739..189bf887e6 100644
--- a/src/syscall/zsyscall_openbsd_amd64.go
+++ b/src/syscall/zsyscall_openbsd_amd64.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build openbsd && amd64
-// +build openbsd,amd64
package syscall
diff --git a/src/syscall/zsyscall_openbsd_arm.go b/src/syscall/zsyscall_openbsd_arm.go
index 04a2fadccd..c7513a3ac9 100644
--- a/src/syscall/zsyscall_openbsd_arm.go
+++ b/src/syscall/zsyscall_openbsd_arm.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build openbsd && arm
-// +build openbsd,arm
package syscall
diff --git a/src/syscall/zsyscall_openbsd_arm64.go b/src/syscall/zsyscall_openbsd_arm64.go
index fa35905d1b..293b703600 100644
--- a/src/syscall/zsyscall_openbsd_arm64.go
+++ b/src/syscall/zsyscall_openbsd_arm64.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build openbsd && arm64
-// +build openbsd,arm64
package syscall
diff --git a/src/syscall/zsyscall_openbsd_mips64.go b/src/syscall/zsyscall_openbsd_mips64.go
index 70fd1474fd..51904b5e29 100644
--- a/src/syscall/zsyscall_openbsd_mips64.go
+++ b/src/syscall/zsyscall_openbsd_mips64.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build openbsd && mips64
-// +build openbsd,mips64
package syscall
diff --git a/src/syscall/zsyscall_plan9_386.go b/src/syscall/zsyscall_plan9_386.go
index 8b7727b343..32fa0f0eb6 100644
--- a/src/syscall/zsyscall_plan9_386.go
+++ b/src/syscall/zsyscall_plan9_386.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build plan9 && 386
-// +build plan9,386
package syscall
diff --git a/src/syscall/zsyscall_plan9_amd64.go b/src/syscall/zsyscall_plan9_amd64.go
index bed9108ea6..b3337ce811 100644
--- a/src/syscall/zsyscall_plan9_amd64.go
+++ b/src/syscall/zsyscall_plan9_amd64.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build plan9 && amd64
-// +build plan9,amd64
package syscall
diff --git a/src/syscall/zsyscall_plan9_arm.go b/src/syscall/zsyscall_plan9_arm.go
index 7bbcf9b4b7..3705566fa3 100644
--- a/src/syscall/zsyscall_plan9_arm.go
+++ b/src/syscall/zsyscall_plan9_arm.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build plan9 && arm
-// +build plan9,arm
package syscall
diff --git a/src/syscall/zsyscall_solaris_amd64.go b/src/syscall/zsyscall_solaris_amd64.go
index 9b37dc0950..2d8cdfd280 100644
--- a/src/syscall/zsyscall_solaris_amd64.go
+++ b/src/syscall/zsyscall_solaris_amd64.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build solaris && amd64
-// +build solaris,amd64
package syscall
diff --git a/src/syscall/zsysnum_darwin_amd64.go b/src/syscall/zsysnum_darwin_amd64.go
index f66f7d2715..08e003f292 100644
--- a/src/syscall/zsysnum_darwin_amd64.go
+++ b/src/syscall/zsysnum_darwin_amd64.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build amd64 && darwin
-// +build amd64,darwin
package syscall
diff --git a/src/syscall/zsysnum_darwin_arm64.go b/src/syscall/zsysnum_darwin_arm64.go
index 6fa146368a..71309bb4d6 100644
--- a/src/syscall/zsysnum_darwin_arm64.go
+++ b/src/syscall/zsysnum_darwin_arm64.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build arm64 && darwin
-// +build arm64,darwin
package syscall
diff --git a/src/syscall/zsysnum_dragonfly_amd64.go b/src/syscall/zsysnum_dragonfly_amd64.go
index e8996db0f8..03d4b06a09 100644
--- a/src/syscall/zsysnum_dragonfly_amd64.go
+++ b/src/syscall/zsysnum_dragonfly_amd64.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build amd64 && dragonfly
-// +build amd64,dragonfly
package syscall
diff --git a/src/syscall/zsysnum_freebsd_386.go b/src/syscall/zsysnum_freebsd_386.go
index 1ed7e3ee8d..355b2ec303 100644
--- a/src/syscall/zsysnum_freebsd_386.go
+++ b/src/syscall/zsysnum_freebsd_386.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build 386 && freebsd
-// +build 386,freebsd
package syscall
diff --git a/src/syscall/zsysnum_freebsd_amd64.go b/src/syscall/zsysnum_freebsd_amd64.go
index d72dbc944a..84c821c955 100644
--- a/src/syscall/zsysnum_freebsd_amd64.go
+++ b/src/syscall/zsysnum_freebsd_amd64.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build amd64 && freebsd
-// +build amd64,freebsd
package syscall
diff --git a/src/syscall/zsysnum_freebsd_arm.go b/src/syscall/zsysnum_freebsd_arm.go
index 4f4dc4db79..785e7875f4 100644
--- a/src/syscall/zsysnum_freebsd_arm.go
+++ b/src/syscall/zsysnum_freebsd_arm.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build arm && freebsd
-// +build arm,freebsd
package syscall
diff --git a/src/syscall/zsysnum_freebsd_arm64.go b/src/syscall/zsysnum_freebsd_arm64.go
index ab1a05258e..7144a8abed 100644
--- a/src/syscall/zsysnum_freebsd_arm64.go
+++ b/src/syscall/zsysnum_freebsd_arm64.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build arm64 && freebsd
-// +build arm64,freebsd
package syscall
diff --git a/src/syscall/zsysnum_linux_386.go b/src/syscall/zsysnum_linux_386.go
index 792f43550e..4966d2a947 100644
--- a/src/syscall/zsysnum_linux_386.go
+++ b/src/syscall/zsysnum_linux_386.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build 386 && linux
-// +build 386,linux
package syscall
diff --git a/src/syscall/zsysnum_linux_amd64.go b/src/syscall/zsysnum_linux_amd64.go
index 9ea18d6111..576c7c36a6 100644
--- a/src/syscall/zsysnum_linux_amd64.go
+++ b/src/syscall/zsysnum_linux_amd64.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build amd64 && linux
-// +build amd64,linux
package syscall
diff --git a/src/syscall/zsysnum_linux_arm.go b/src/syscall/zsysnum_linux_arm.go
index ccae9c15e3..b0da97c64b 100644
--- a/src/syscall/zsysnum_linux_arm.go
+++ b/src/syscall/zsysnum_linux_arm.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build arm && linux
-// +build arm,linux
package syscall
diff --git a/src/syscall/zsysnum_linux_arm64.go b/src/syscall/zsysnum_linux_arm64.go
index 17c54a2c83..0136d9440b 100644
--- a/src/syscall/zsysnum_linux_arm64.go
+++ b/src/syscall/zsysnum_linux_arm64.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build arm64 && linux
-// +build arm64,linux
package syscall
diff --git a/src/syscall/zsysnum_linux_ppc64.go b/src/syscall/zsysnum_linux_ppc64.go
index a0d37ff1f2..cc964c23e2 100644
--- a/src/syscall/zsysnum_linux_ppc64.go
+++ b/src/syscall/zsysnum_linux_ppc64.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build ppc64 && linux
-// +build ppc64,linux
package syscall
diff --git a/src/syscall/zsysnum_linux_ppc64le.go b/src/syscall/zsysnum_linux_ppc64le.go
index f8f82d2043..57bfb7795f 100644
--- a/src/syscall/zsysnum_linux_ppc64le.go
+++ b/src/syscall/zsysnum_linux_ppc64le.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build ppc64le && linux
-// +build ppc64le,linux
package syscall
diff --git a/src/syscall/zsysnum_netbsd_386.go b/src/syscall/zsysnum_netbsd_386.go
index fd0c329951..5696c4befe 100644
--- a/src/syscall/zsysnum_netbsd_386.go
+++ b/src/syscall/zsysnum_netbsd_386.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build 386 && netbsd
-// +build 386,netbsd
package syscall
diff --git a/src/syscall/zsysnum_netbsd_amd64.go b/src/syscall/zsysnum_netbsd_amd64.go
index 03f2cd3bd3..9fb85cddba 100644
--- a/src/syscall/zsysnum_netbsd_amd64.go
+++ b/src/syscall/zsysnum_netbsd_amd64.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build amd64 && netbsd
-// +build amd64,netbsd
package syscall
diff --git a/src/syscall/zsysnum_netbsd_arm.go b/src/syscall/zsysnum_netbsd_arm.go
index 7b356e7102..e0e8994641 100644
--- a/src/syscall/zsysnum_netbsd_arm.go
+++ b/src/syscall/zsysnum_netbsd_arm.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build arm && netbsd
-// +build arm,netbsd
package syscall
diff --git a/src/syscall/zsysnum_netbsd_arm64.go b/src/syscall/zsysnum_netbsd_arm64.go
index 3f57ec4d89..9653364dae 100644
--- a/src/syscall/zsysnum_netbsd_arm64.go
+++ b/src/syscall/zsysnum_netbsd_arm64.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build arm64 && netbsd
-// +build arm64,netbsd
package syscall
diff --git a/src/syscall/zsysnum_openbsd_386.go b/src/syscall/zsysnum_openbsd_386.go
index b289886d6c..3b12639bd7 100644
--- a/src/syscall/zsysnum_openbsd_386.go
+++ b/src/syscall/zsysnum_openbsd_386.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build 386 && openbsd
-// +build 386,openbsd
package syscall
diff --git a/src/syscall/zsysnum_openbsd_amd64.go b/src/syscall/zsysnum_openbsd_amd64.go
index 8cf2b68dcd..bce309dc5d 100644
--- a/src/syscall/zsysnum_openbsd_amd64.go
+++ b/src/syscall/zsysnum_openbsd_amd64.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build amd64 && openbsd
-// +build amd64,openbsd
package syscall
diff --git a/src/syscall/zsysnum_openbsd_arm.go b/src/syscall/zsysnum_openbsd_arm.go
index cc33773a05..05aed70762 100644
--- a/src/syscall/zsysnum_openbsd_arm.go
+++ b/src/syscall/zsysnum_openbsd_arm.go
@@ -2,7 +2,6 @@
// Code generated by the command above; DO NOT EDIT.
//go:build arm && openbsd
-// +build arm,openbsd
package syscall
diff --git a/src/syscall/zsysnum_solaris_amd64.go b/src/syscall/zsysnum_solaris_amd64.go
index 23c9c715b5..ea244e535e 100644
--- a/src/syscall/zsysnum_solaris_amd64.go
+++ b/src/syscall/zsysnum_solaris_amd64.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build amd64 && solaris
-// +build amd64,solaris
package syscall
diff --git a/src/syscall/ztypes_darwin_amd64.go b/src/syscall/ztypes_darwin_amd64.go
index 8feacc47ab..551edc7025 100644
--- a/src/syscall/ztypes_darwin_amd64.go
+++ b/src/syscall/ztypes_darwin_amd64.go
@@ -2,7 +2,6 @@
// cgo -godefs types_darwin.go
//go:build amd64 && darwin
-// +build amd64,darwin
package syscall
diff --git a/src/syscall/ztypes_darwin_arm64.go b/src/syscall/ztypes_darwin_arm64.go
index 8079d22429..46f78a97eb 100644
--- a/src/syscall/ztypes_darwin_arm64.go
+++ b/src/syscall/ztypes_darwin_arm64.go
@@ -2,7 +2,6 @@
// cgo -godefs types_darwin.go
//go:build arm64 && darwin
-// +build arm64,darwin
package syscall
diff --git a/src/syscall/ztypes_dragonfly_amd64.go b/src/syscall/ztypes_dragonfly_amd64.go
index a51e0038bb..ec519b72ec 100644
--- a/src/syscall/ztypes_dragonfly_amd64.go
+++ b/src/syscall/ztypes_dragonfly_amd64.go
@@ -2,7 +2,6 @@
// cgo -godefs types_dragonfly.go
//go:build amd64 && dragonfly
-// +build amd64,dragonfly
package syscall
diff --git a/src/syscall/ztypes_freebsd_386.go b/src/syscall/ztypes_freebsd_386.go
index 1739726883..e1946dece8 100644
--- a/src/syscall/ztypes_freebsd_386.go
+++ b/src/syscall/ztypes_freebsd_386.go
@@ -2,7 +2,6 @@
// cgo -godefs types_freebsd.go | go run mkpost.go
//go:build 386 && freebsd
-// +build 386,freebsd
package syscall
diff --git a/src/syscall/ztypes_freebsd_amd64.go b/src/syscall/ztypes_freebsd_amd64.go
index 0457d8e995..a718345d79 100644
--- a/src/syscall/ztypes_freebsd_amd64.go
+++ b/src/syscall/ztypes_freebsd_amd64.go
@@ -2,7 +2,6 @@
// cgo -godefs types_freebsd.go | go run mkpost.go
//go:build amd64 && freebsd
-// +build amd64,freebsd
package syscall
diff --git a/src/syscall/ztypes_freebsd_arm.go b/src/syscall/ztypes_freebsd_arm.go
index 29c8380d89..9c5a066713 100644
--- a/src/syscall/ztypes_freebsd_arm.go
+++ b/src/syscall/ztypes_freebsd_arm.go
@@ -2,7 +2,6 @@
// cgo -godefs -- -fsigned-char types_freebsd.go
//go:build arm && freebsd
-// +build arm,freebsd
package syscall
diff --git a/src/syscall/ztypes_freebsd_arm64.go b/src/syscall/ztypes_freebsd_arm64.go
index 6472db0080..3ccd9fc0dd 100644
--- a/src/syscall/ztypes_freebsd_arm64.go
+++ b/src/syscall/ztypes_freebsd_arm64.go
@@ -2,7 +2,6 @@
// cgo -godefs types_freebsd.go | go run mkpost.go
//go:build arm64 && freebsd
-// +build arm64,freebsd
package syscall
diff --git a/src/syscall/ztypes_linux_386.go b/src/syscall/ztypes_linux_386.go
index 251a0c0b4a..a45511e847 100644
--- a/src/syscall/ztypes_linux_386.go
+++ b/src/syscall/ztypes_linux_386.go
@@ -2,7 +2,6 @@
// cgo -godefs types_linux.go
//go:build 386 && linux
-// +build 386,linux
package syscall
diff --git a/src/syscall/ztypes_linux_amd64.go b/src/syscall/ztypes_linux_amd64.go
index 34c953fc8b..1bab13bf43 100644
--- a/src/syscall/ztypes_linux_amd64.go
+++ b/src/syscall/ztypes_linux_amd64.go
@@ -2,7 +2,6 @@
// cgo -godefs types_linux.go
//go:build amd64 && linux
-// +build amd64,linux
package syscall
diff --git a/src/syscall/ztypes_linux_arm.go b/src/syscall/ztypes_linux_arm.go
index 4de656b491..a4d61bd19b 100644
--- a/src/syscall/ztypes_linux_arm.go
+++ b/src/syscall/ztypes_linux_arm.go
@@ -2,7 +2,6 @@
// cgo -godefs types_linux.go
//go:build arm && linux
-// +build arm,linux
package syscall
diff --git a/src/syscall/ztypes_linux_arm64.go b/src/syscall/ztypes_linux_arm64.go
index bed9cb0851..1e469c36d2 100644
--- a/src/syscall/ztypes_linux_arm64.go
+++ b/src/syscall/ztypes_linux_arm64.go
@@ -2,7 +2,6 @@
// cgo -godefs -- -fsigned-char types_linux.go
//go:build arm64 && linux
-// +build arm64,linux
package syscall
diff --git a/src/syscall/ztypes_linux_ppc64.go b/src/syscall/ztypes_linux_ppc64.go
index 355533fb27..c830cee966 100644
--- a/src/syscall/ztypes_linux_ppc64.go
+++ b/src/syscall/ztypes_linux_ppc64.go
@@ -2,7 +2,6 @@
// cgo -godefs types_linux.go
//go:build ppc64 && linux
-// +build ppc64,linux
package syscall
diff --git a/src/syscall/ztypes_linux_ppc64le.go b/src/syscall/ztypes_linux_ppc64le.go
index 94e12c742c..770ddc9fe9 100644
--- a/src/syscall/ztypes_linux_ppc64le.go
+++ b/src/syscall/ztypes_linux_ppc64le.go
@@ -2,7 +2,6 @@
// cgo -godefs types_linux.go
//go:build ppc64le && linux
-// +build ppc64le,linux
package syscall
diff --git a/src/syscall/ztypes_netbsd_386.go b/src/syscall/ztypes_netbsd_386.go
index 321460f45a..74eaa4a150 100644
--- a/src/syscall/ztypes_netbsd_386.go
+++ b/src/syscall/ztypes_netbsd_386.go
@@ -2,7 +2,6 @@
// cgo -godefs types_netbsd.go
//go:build 386 && netbsd
-// +build 386,netbsd
package syscall
diff --git a/src/syscall/ztypes_netbsd_amd64.go b/src/syscall/ztypes_netbsd_amd64.go
index 370d717263..fc28fc9bb8 100644
--- a/src/syscall/ztypes_netbsd_amd64.go
+++ b/src/syscall/ztypes_netbsd_amd64.go
@@ -2,7 +2,6 @@
// cgo -godefs types_netbsd.go
//go:build amd64 && netbsd
-// +build amd64,netbsd
package syscall
diff --git a/src/syscall/ztypes_netbsd_arm.go b/src/syscall/ztypes_netbsd_arm.go
index 557c634533..1f885048dd 100644
--- a/src/syscall/ztypes_netbsd_arm.go
+++ b/src/syscall/ztypes_netbsd_arm.go
@@ -2,7 +2,6 @@
// cgo -godefs types_netbsd.go
//go:build arm && netbsd
-// +build arm,netbsd
package syscall
diff --git a/src/syscall/ztypes_netbsd_arm64.go b/src/syscall/ztypes_netbsd_arm64.go
index 19f3690341..cac74693d7 100644
--- a/src/syscall/ztypes_netbsd_arm64.go
+++ b/src/syscall/ztypes_netbsd_arm64.go
@@ -2,7 +2,6 @@
// cgo -godefs types_netbsd.go
//go:build arm64 && netbsd
-// +build arm64,netbsd
package syscall
diff --git a/src/syscall/ztypes_openbsd_386.go b/src/syscall/ztypes_openbsd_386.go
index 222c6c7e46..f9ba685e25 100644
--- a/src/syscall/ztypes_openbsd_386.go
+++ b/src/syscall/ztypes_openbsd_386.go
@@ -2,7 +2,6 @@
// cgo -godefs types_openbsd.go
//go:build 386 && openbsd
-// +build 386,openbsd
package syscall
diff --git a/src/syscall/ztypes_openbsd_amd64.go b/src/syscall/ztypes_openbsd_amd64.go
index 644ee9b3df..889b9551ae 100644
--- a/src/syscall/ztypes_openbsd_amd64.go
+++ b/src/syscall/ztypes_openbsd_amd64.go
@@ -2,7 +2,6 @@
// cgo -godefs types_openbsd.go
//go:build amd64 && openbsd
-// +build amd64,openbsd
package syscall
diff --git a/src/syscall/ztypes_solaris_amd64.go b/src/syscall/ztypes_solaris_amd64.go
index 64e16b4943..d486cd002f 100644
--- a/src/syscall/ztypes_solaris_amd64.go
+++ b/src/syscall/ztypes_solaris_amd64.go
@@ -2,7 +2,6 @@
// cgo -godefs types_solaris.go
//go:build amd64 && solaris
-// +build amd64,solaris
package syscall