From 0eea96057a8559ae542a0cccfd61ceddc26ceb35 Mon Sep 17 00:00:00 2001 From: Lucas Manning Date: Fri, 23 Jul 2021 12:47:08 -0700 Subject: Add support for SIOCGIFCONF ioctl in hostinet. PiperOrigin-RevId: 386511818 --- pkg/sentry/socket/hostinet/socket_unsafe.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg') diff --git a/pkg/sentry/socket/hostinet/socket_unsafe.go b/pkg/sentry/socket/hostinet/socket_unsafe.go index ccf4f534d..587f479eb 100644 --- a/pkg/sentry/socket/hostinet/socket_unsafe.go +++ b/pkg/sentry/socket/hostinet/socket_unsafe.go @@ -67,7 +67,7 @@ func ioctl(ctx context.Context, fd int, io usermem.IO, args arch.SyscallArgument AddressSpaceActive: true, }) return 0, err - case unix.SIOCGIFFLAGS: + case unix.SIOCGIFFLAGS, unix.SIOCGIFCONF: cc := &usermem.IOCopyContext{ Ctx: ctx, IO: io, -- cgit v1.2.3