summaryrefslogtreecommitdiffstats
path: root/include/media/dvb_math.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-11-26 01:04:13 +0100
committerJens Axboe <axboe@kernel.dk>2019-11-26 23:02:53 +0100
commitd69e07793f891524c6bbf1e75b9ae69db4450953 (patch)
tree054fc5da5cbcbc2922575d0f13b83d5023c96755 /include/media/dvb_math.h
parentnet: separate out the msghdr copy from ___sys_{send,recv}msg() (diff)
downloadlinux-d69e07793f891524c6bbf1e75b9ae69db4450953.tar.xz
linux-d69e07793f891524c6bbf1e75b9ae69db4450953.zip
net: disallow ancillary data for __sys_{send,recv}msg_file()
Only io_uring uses (and added) these, and we want to disallow the use of sendmsg/recvmsg for anything but regular data transfers. Use the newly added prep helper to split the msghdr copy out from the core function, to check for msg_control and msg_controllen settings. If either is set, we return -EINVAL. Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/media/dvb_math.h')
0 files changed, 0 insertions, 0 deletions