moby/pkg/loopback
Sebastiaan van Stijn c7c02eea81
pkg/loopback: use ioctl helpers from x/sys/unix
Use the IoctlRetInt, IoctlSetInt and IoctlLoopSetStatus64 helper
functions defined in the golang.org/x/sys/unix package instead of
manually wrapping these using a locally defined function.

Inspired by 3cc3d8a560

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-10-08 21:20:29 +02:00
..
attach_loopback.go pkg/loopback: use ioctl helpers from x/sys/unix 2022-10-08 21:20:29 +02:00
loopback.go pkg/loopback: use ioctl helpers from x/sys/unix 2022-10-08 21:20:29 +02:00