diff options
author | Kevin Krakauer <krakauer@google.com> | 2018-05-18 10:42:52 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-05-18 10:43:41 -0700 |
commit | d4c81b7a2135293474f787e4a9abf3802258838b (patch) | |
tree | 44f4f4ccca9333fd367d25ca7dbefb350a524345 /pkg/sentry/platform/kvm/machine.go | |
parent | a1e5862f3c7b0a3baabee2311d3d519d322a0168 (diff) |
sentry: Get "ip link" working.
In Linux, many UDS ioctls are passed through to the NIC driver. We do the same
here, passing ioctl calls to Unix sockets through to epsocket.
In Linux you can see this path at net/socket.c:sock_ioctl, which calls
sock_do_ioctl, which calls net/core/dev_ioctl.c:dev_ioctl.
SIOCGIFNAME is also added.
PiperOrigin-RevId: 197167508
Change-Id: I62c326a4792bd0a473e9c9108aafb6a6354f2b64
Diffstat (limited to 'pkg/sentry/platform/kvm/machine.go')
0 files changed, 0 insertions, 0 deletions