diff options
author | dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> | 2020-03-18 09:17:39 +0000 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2020-03-25 14:20:34 +0100 |
commit | e8e590ed88b26e0ffc554862a284b23fc8c9bdf3 (patch) | |
tree | 5ca8d35e46da42d4c958841303ffc79c8cb4e3be /vendor/github.com/rootless-containers | |
parent | 69b011d3ac39b985cdbd2bacfa1eaeba166bf224 (diff) | |
download | podman-e8e590ed88b26e0ffc554862a284b23fc8c9bdf3.tar.gz podman-e8e590ed88b26e0ffc554862a284b23fc8c9bdf3.tar.bz2 podman-e8e590ed88b26e0ffc554862a284b23fc8c9bdf3.zip |
Bump github.com/rootless-containers/rootlesskit from 0.8.0 to 0.9.2
Bumps [github.com/rootless-containers/rootlesskit](https://github.com/rootless-containers/rootlesskit) from 0.8.0 to 0.9.2.
- [Release notes](https://github.com/rootless-containers/rootlesskit/releases)
- [Commits](https://github.com/rootless-containers/rootlesskit/compare/v0.8.0...v0.9.2)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'vendor/github.com/rootless-containers')
-rw-r--r-- | vendor/github.com/rootless-containers/rootlesskit/pkg/port/builtin/child/child.go | 7 | ||||
-rw-r--r-- | vendor/github.com/rootless-containers/rootlesskit/pkg/port/builtin/msg/msg.go | 11 |
2 files changed, 16 insertions, 2 deletions
diff --git a/vendor/github.com/rootless-containers/rootlesskit/pkg/port/builtin/child/child.go b/vendor/github.com/rootless-containers/rootlesskit/pkg/port/builtin/child/child.go index 5477dda51..7cce235a6 100644 --- a/vendor/github.com/rootless-containers/rootlesskit/pkg/port/builtin/child/child.go +++ b/vendor/github.com/rootless-containers/rootlesskit/pkg/port/builtin/child/child.go @@ -124,7 +124,12 @@ func (d *childDriver) handleConnectRequest(c *net.UnixConn, req *msg.Request) er if err != nil { return err } - err = unix.Sendmsg(int(f.Fd()), []byte("dummy"), oob, nil, 0) + for { + err = unix.Sendmsg(int(f.Fd()), []byte("dummy"), oob, nil, 0) + if err != unix.EINTR { + break + } + } return err } diff --git a/vendor/github.com/rootless-containers/rootlesskit/pkg/port/builtin/msg/msg.go b/vendor/github.com/rootless-containers/rootlesskit/pkg/port/builtin/msg/msg.go index c603f473a..e95b62191 100644 --- a/vendor/github.com/rootless-containers/rootlesskit/pkg/port/builtin/msg/msg.go +++ b/vendor/github.com/rootless-containers/rootlesskit/pkg/port/builtin/msg/msg.go @@ -62,7 +62,16 @@ func ConnectToChild(c *net.UnixConn, spec port.Spec) (int, error) { } oobSpace := unix.CmsgSpace(4) oob := make([]byte, oobSpace) - _, oobN, _, _, err := c.ReadMsgUnix(nil, oob) + var ( + oobN int + err error + ) + for { + _, oobN, _, _, err = c.ReadMsgUnix(nil, oob) + if err != unix.EINTR { + break + } + } if err != nil { return 0, err } |