diff options
| author | Joel Sing <joel@sing.id.au> | 2020-11-16 04:47:56 +1100 |
|---|---|---|
| committer | Joel Sing <joel@sing.id.au> | 2021-01-26 07:10:57 +0000 |
| commit | 8634a234df2a9e93ed1de58bf59d2eb843d8f464 (patch) | |
| tree | a7df86fe6b54bf9a72820ab6877dbd3b658b72d2 /src/syscall/exec_bsd.go | |
| parent | 1d5e14632edc2ba76156c8a771a2a1a5c5387326 (diff) | |
| download | go-8634a234df2a9e93ed1de58bf59d2eb843d8f464.tar.xz | |
runtime,syscall: convert syscall on openbsd/amd64 to libc
Convert the syscall package on openbsd/amd64 to use libc rather than performing
direct system calls.
Updates #36435
Change-Id: Ieb5926a91ed34f7c722e3667004ec484c86804ef
Reviewed-on: https://go-review.googlesource.com/c/go/+/270380
Trust: Joel Sing <joel@sing.id.au>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Diffstat (limited to 'src/syscall/exec_bsd.go')
| -rw-r--r-- | src/syscall/exec_bsd.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syscall/exec_bsd.go b/src/syscall/exec_bsd.go index b297db96cc..9069ef4613 100644 --- a/src/syscall/exec_bsd.go +++ b/src/syscall/exec_bsd.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build dragonfly freebsd netbsd openbsd +// +build dragonfly freebsd netbsd openbsd,!amd64 package syscall |
