gvisor/pkg/sentry/socket/netlink
Michael Pratt b23b36e701 Add NETLINK_KOBJECT_UEVENT socket support
NETLINK_KOBJECT_UEVENT sockets send udev-style messages for device events.
gVisor doesn't have any device events, so our sockets don't need to do anything
once created.

systemd's device manager needs to be able to create one of these sockets. It
also wants to install a BPF filter on the socket. Since we'll never send any
messages, the filter would never be invoked, thus we just fake it out.

Fixes #1117
Updates #1119

PiperOrigin-RevId: 278405893
2019-11-04 10:07:52 -08:00
..
port Reorder BUILD license and load functions in gvisor. 2019-10-16 16:40:30 -07:00
route Add NETLINK_KOBJECT_UEVENT socket support 2019-11-04 10:07:52 -08:00
uevent Add NETLINK_KOBJECT_UEVENT socket support 2019-11-04 10:07:52 -08:00
BUILD Add SO_PASSCRED support to netlink sockets 2019-11-01 12:45:11 -07:00
message.go Update canonical repository. 2019-06-13 16:50:15 -07:00
provider.go Add NETLINK_KOBJECT_UEVENT socket support 2019-11-04 10:07:52 -08:00
socket.go Add NETLINK_KOBJECT_UEVENT socket support 2019-11-04 10:07:52 -08:00