aboutsummaryrefslogtreecommitdiff
path: root/linux-user/openrisc
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-07-15 14:57:27 +0100
committerRiku Voipio <riku.voipio@linaro.org>2016-09-21 14:20:31 +0300
commit97b079703350ec0f6625788fb380f1fa14d0e2c4 (patch)
treea7bd4f96936f42c0c5a606cb16d6a6fbc9a2377b /linux-user/openrisc
parentdab32b321f4d510ed5171b12f68bd5aa7a02cffe (diff)
linux-user: Fix errno for sendrecvmsg with large iovec length
The sendmsg and recvmsg syscalls use a different errno to indicate an overlarge iovec length from readv and writev. Handle this special case in do_sendrcvmsg_locked() to avoid getting the default errno returned by lock_iovec(). Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'linux-user/openrisc')
0 files changed, 0 insertions, 0 deletions