[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Bug 1075339] Re: linux-user emulation of setsockopt ignore
[Qemu-devel] [Bug 1075339] Re: linux-user emulation of setsockopt ignores optlen
Fri, 17 Jun 2016 15:52:57 -0000
We fixed our setsockopt emulation to correctly convert timeval
parameters for SO_RCVTIMEO and SO_SNDTIMEO back in 2013.
** Changed in: qemu
Status: New => Fix Released
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
linux-user emulation of setsockopt ignores optlen
Status in QEMU:
setsockopt always treats the argument as a 4-byte int. This breaks
timeout options (for which it's an 8- or 16-byte timeval structure,
depending on word size) and possibly other socket options. int is
probably a safe default, but options whose values are other types need
special-case conversion code.
To manage notifications about this bug go to:
|[Prev in Thread]
||[Next in Thread]|
- [Qemu-devel] [Bug 1075339] Re: linux-user emulation of setsockopt ignores optlen,
Peter Maydell <=