Skip to content

Commit

Permalink
os, syscall: use wait6 to avoid wait/kill race on dragonfly
Browse files Browse the repository at this point in the history
Follow CL 23967 and CL 24021 which did the same on linux and freebsd,
respectively.

Updates golang#13987
Updates golang#16028

Change-Id: Ia30ef8b5cffd8f9eb75c29ee5fe350dac2be6d44
  • Loading branch information
tklauser committed May 1, 2021
1 parent 879db69 commit e6fb665
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/os/wait_wait6.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 freebsd
// +build freebsd
//go:build dragonfly || freebsd
// +build dragonfly freebsd

package os

Expand Down
2 changes: 2 additions & 0 deletions src/syscall/zerrors_dragonfly_amd64.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/syscall/zsysnum_dragonfly_amd64.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e6fb665

Please sign in to comment.