mirror of
https://github.com/clearlinux/graphene.git
synced 2026-09-05 13:21:37 +00:00
Syscall recvmsg() accepts an array of buffers (iovecs). This buffers are filled in array order. POSIX does not allow to fill e.g. iov[0] only partially before proceeding to iov[1]. This commit makes recvmsg() emulation compliant with this requirement. Also, this commit fixes a small performance issue when recvmsg() would overwrite the same received-address info over and over.