io_uring: fix 32-bit compatability with sendmsg/recvmsg
We must set MSG_CMSG_COMPAT if we're in compatability mode, otherwise
the iovec import for these commands will not do the right thing and fail
the command with -EINVAL.
Found by running the test suite compiled as 32-bit.
Cc: stable@vger.kernel.org Fixes: a2d6fdf61d31 ("io_uring: add support for recvmsg()") Fixes: e3d3b14e7343 ("io_uring: add support for sendmsg()") Signed-off-by: Jens Axboe <axboe@kernel.dk>