aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorPatrick McHardy <[email protected]>2013-04-17 06:47:03 +0000
committerDavid S. Miller <[email protected]>2013-04-19 14:57:57 -0400
commit5fd96123ee19b96be7d7b57fd42227e1a146ef05 (patch)
tree291383cb7d7b8b719bb370fe8483c8109a93aaff /include/linux/debugobjects.h
parent9652e931e73be7e54a9c40e9bcd4bbdafe92a406 (diff)
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions