moby/pkg/loopback
Sebastiaan van Stijn 65c7f3bac3
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>
(cherry picked from commit c7c02eea81)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-11-15 14:55:17 +01:00
..
attach_loopback.go pkg/loopback: use ioctl helpers from x/sys/unix 2022-11-15 14:55:17 +01:00
loopback.go pkg/loopback: use ioctl helpers from x/sys/unix 2022-11-15 14:55:17 +01:00