Re: [Qemu-devel] [PATCH for-1.1] libqtest: Fix socket_accept() to pass address_len

2012-06-12 Thread Stefan Hajnoczi
On Mon, May 28, 2012 at 12:53:20AM +0200, Andreas Färber wrote: > accept() expects address_len to point to the length of the sockaddr on > input. Initialize it accordingly. > > Resolves an assertion due to EFAULT on illumos. > > Signed-off-by: Andreas Färber > --- > tests/libqtest.c |1 + >

Re: [Qemu-devel] [PATCH for-1.1] libqtest: Fix socket_accept() to pass address_len

2012-06-11 Thread Andreas Färber
Am 28.05.2012 00:53, schrieb Andreas Färber: > accept() expects address_len to point to the length of the sockaddr on > input. Initialize it accordingly. > > Resolves an assertion due to EFAULT on illumos. > > Signed-off-by: Andreas Färber Ping? Verifiable by looking at the Linux man page. /-F

[Qemu-devel] [PATCH for-1.1] libqtest: Fix socket_accept() to pass address_len

2012-05-27 Thread Andreas Färber
accept() expects address_len to point to the length of the sockaddr on input. Initialize it accordingly. Resolves an assertion due to EFAULT on illumos. Signed-off-by: Andreas Färber --- tests/libqtest.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/tests/libqtest.c b