linux/net/netlink
Patrick McHardy 5fd96123ee netlink: implement memory mapped sendmsg()
Add support for mmap'ed sendmsg() to netlink. Since the kernel validates
received messages before processing them, the code makes sure userspace
can't modify the message contents after invoking sendmsg(). To do that
only a single mapping of the TX ring is allowed to exist and the socket
must not be shared. If either of these two conditions does not hold, it
falls back to copying.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-04-19 14:57:57 -04:00
..
af_netlink.c netlink: implement memory mapped sendmsg() 2013-04-19 14:57:57 -04:00
af_netlink.h netlink: mmaped netlink: ring setup 2013-04-19 14:57:57 -04:00
diag.c netlink: Diag core and basic socket info dumping (v2) 2013-03-21 12:38:03 -04:00
genetlink.c genetlink: trigger BUG_ON if a group name is too long 2013-03-20 12:05:51 -04:00
Kconfig netlink: Diag core and basic socket info dumping (v2) 2013-03-21 12:38:03 -04:00
Makefile netlink: Diag core and basic socket info dumping (v2) 2013-03-21 12:38:03 -04:00