Re: [Qemu-devel] [PATCH] linux-user/syscall: let recvfrom(struct sockaddr *) use abi_ulong

2018-01-23 Thread Laurent Vivier
Le 23/01/2018 à 17:27, Guido Günther a écrit : > Hi, > On Tue, Jan 23, 2018 at 05:12:26PM +0100, Laurent Vivier wrote: >> Le 23/01/2018 à 16:23, Guido Günther a écrit : >>> Hi, >>> Thanks for having a look! >>> >>> On Tue, Jan 23, 2018 at 11:52:22AM -0300, Philippe Mathieu-Daudé wrote: Current

Re: [Qemu-devel] [PATCH] linux-user/syscall: let recvfrom(struct sockaddr *) use abi_ulong

2018-01-23 Thread Guido Günther
Hi, On Tue, Jan 23, 2018 at 05:12:26PM +0100, Laurent Vivier wrote: > Le 23/01/2018 à 16:23, Guido Günther a écrit : > > Hi, > > Thanks for having a look! > > > > On Tue, Jan 23, 2018 at 11:52:22AM -0300, Philippe Mathieu-Daudé wrote: > >> Currently recvfrom() is restricted to handle 32-bit pointe

Re: [Qemu-devel] [PATCH] linux-user/syscall: let recvfrom(struct sockaddr *) use abi_ulong

2018-01-23 Thread Laurent Vivier
Le 23/01/2018 à 16:23, Guido Günther a écrit : > Hi, > Thanks for having a look! > > On Tue, Jan 23, 2018 at 11:52:22AM -0300, Philippe Mathieu-Daudé wrote: >> Currently recvfrom() is restricted to handle 32-bit pointers, >> remove this limit for 64-bit hosts. >> >> This fixes: >> >> 31572 socke

Re: [Qemu-devel] [PATCH] linux-user/syscall: let recvfrom(struct sockaddr *) use abi_ulong

2018-01-23 Thread Laurent Vivier
Le 23/01/2018 à 16:23, Guido Günther a écrit : > Hi, > Thanks for having a look! > > On Tue, Jan 23, 2018 at 11:52:22AM -0300, Philippe Mathieu-Daudé wrote: >> Currently recvfrom() is restricted to handle 32-bit pointers, >> remove this limit for 64-bit hosts. >> >> This fixes: >> >> 31572 socke

Re: [Qemu-devel] [PATCH] linux-user/syscall: let recvfrom(struct sockaddr *) use abi_ulong

2018-01-23 Thread Guido Günther
Hi, Thanks for having a look! On Tue, Jan 23, 2018 at 11:52:22AM -0300, Philippe Mathieu-Daudé wrote: > Currently recvfrom() is restricted to handle 32-bit pointers, > remove this limit for 64-bit hosts. > > This fixes: > > 31572 socket(AF_NETLINK, SOCK_RAW, NETLINK_AUDIT) = 3 > ... > 3157

Re: [Qemu-devel] [PATCH] linux-user/syscall: let recvfrom(struct sockaddr *) use abi_ulong

2018-01-23 Thread Philippe Mathieu-Daudé
On 01/23/2018 12:00 PM, Laurent Vivier wrote: > Le 23/01/2018 à 15:52, Philippe Mathieu-Daudé a écrit : >> Currently recvfrom() is restricted to handle 32-bit pointers, >> remove this limit for 64-bit hosts. >> >> This fixes: >> >> 31572 socket(AF_NETLINK, SOCK_RAW, NETLINK_AUDIT) = 3 >> ... >>

Re: [Qemu-devel] [PATCH] linux-user/syscall: let recvfrom(struct sockaddr *) use abi_ulong

2018-01-23 Thread Laurent Vivier
Le 23/01/2018 à 15:52, Philippe Mathieu-Daudé a écrit : > Currently recvfrom() is restricted to handle 32-bit pointers, > remove this limit for 64-bit hosts. > > This fixes: > > 31572 socket(AF_NETLINK, SOCK_RAW, NETLINK_AUDIT) = 3 > ... > 31572 sendto(3, {{len=124, type=0x454 /* NLMSG_???

[Qemu-devel] [PATCH] linux-user/syscall: let recvfrom(struct sockaddr *) use abi_ulong

2018-01-23 Thread Philippe Mathieu-Daudé
Currently recvfrom() is restricted to handle 32-bit pointers, remove this limit for 64-bit hosts. This fixes: 31572 socket(AF_NETLINK, SOCK_RAW, NETLINK_AUDIT) = 3 ... 31572 sendto(3, {{len=124, type=0x454 /* NLMSG_??? */, flags=NLM_F_REQUEST|NLM_F_ACK, seq=1, pid=0}, "op=test:message acct