Skip to content

Commit

Permalink
Ignore SIGURG on Darwin too
Browse files Browse the repository at this point in the history
This extends docker#2929 to Darwin as well as Linux.

Running the example in golang/go#37942
I see lots of:
```
dave@m1 sigurg % uname -ms
Darwin arm64

dave@m1 sigurg % go run main.go
received urgent I/O condition: 2021-05-21 16:03:03.482211 +0100 BST m=+0.014553751
received urgent I/O condition: 2021-05-21 16:03:03.507171 +0100 BST m=+0.039514459
```

Signed-off-by: David Scott <dave@recoil.org>
  • Loading branch information
djs55 committed May 24, 2021
1 parent 86e1f04 commit cedaf44
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
@@ -1,3 +1,5 @@
// +build !windows

package container

import (
Expand Down
@@ -1,3 +1,5 @@
// +build !windows

package container

import (
Expand Down
@@ -1,5 +1,3 @@
// +build !linux

package container

import "os"
Expand Down

0 comments on commit cedaf44

Please sign in to comment.