mirror of
https://github.com/containerd/containerd.git
synced 2026-11-06 13:27:16 +00:00
Bumps [github.com/mdlayher/vsock](https://github.com/mdlayher/vsock) from 1.2.1 to 1.3.0. - [Release notes](https://github.com/mdlayher/vsock/releases) - [Changelog](https://github.com/mdlayher/vsock/blob/main/CHANGELOG.md) - [Commits](https://github.com/mdlayher/vsock/compare/v1.2.1...v1.3.0) --- updated-dependencies: - dependency-name: github.com/mdlayher/vsock dependency-version: 1.3.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
15 lines
254 B
Go
15 lines
254 B
Go
//go:build dragonfly || freebsd || illumos || linux
|
|
|
|
package socket
|
|
|
|
import (
|
|
"golang.org/x/sys/unix"
|
|
)
|
|
|
|
const sysAccept = "accept4"
|
|
|
|
// accept wraps accept4(2).
|
|
func accept(fd, flags int) (int, unix.Sockaddr, error) {
|
|
return unix.Accept4(fd, flags)
|
|
}
|