Is ->sendmsg() allowed to change the msghdr struct it is given?

From: David Howells
Date: Mon Jun 26 2023 - 17:16:01 EST


Hi Jakub,

Do you know if ->sendmsg() might alter the msghdr struct it is passed as an
argument? Certainly it can alter msg_iter, but can it also modify, say,
msg_flags?

Thanks,
David