aboutsummaryrefslogtreecommitdiff
path: root/src/syscall/exec_bsd.go
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2021-10-13 15:42:31 +0200
committerTobias Klauser <tobias.klauser@gmail.com>2021-10-14 07:18:59 +0000
commit1349c6eb1e3faf8b83db9a1ea30764d56b40c7dc (patch)
treeb1789548e0e99ed31b549334ebbeae096055b40a /src/syscall/exec_bsd.go
parent9e4dc6f37f75840d1193accae697a0e9283f5384 (diff)
downloadgo-1349c6eb1e3faf8b83db9a1ea30764d56b40c7dc.tar.xz
syscall: separate ProcSysAttr and forkAndExecInChild for FreeBSD
To allow adding fields to ProcSysAttr which are supported on FreeBSD but not on other BSDs. For now exec_freebsd.go is an exact copy of exec_bsd.go with adjusted build tags and copyright year. For #46258 For #46259 Change-Id: I7667a0cdf1ca86ef64a147b77c06db70c5f8eb90 Reviewed-on: https://go-review.googlesource.com/c/go/+/355569 Trust: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/syscall/exec_bsd.go')
-rw-r--r--src/syscall/exec_bsd.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/syscall/exec_bsd.go b/src/syscall/exec_bsd.go
index 709066e809..4c36f9ec13 100644
--- a/src/syscall/exec_bsd.go
+++ b/src/syscall/exec_bsd.go
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-//go:build dragonfly || freebsd || netbsd || (openbsd && mips64)
-// +build dragonfly freebsd netbsd openbsd,mips64
+//go:build dragonfly || netbsd || (openbsd && mips64)
+// +build dragonfly netbsd openbsd,mips64
package syscall