Re: [Qemu-devel] [PATCH] linux-user: correct msgrcv()

2013-01-26 Thread Laurent Vivier
Ping Le dimanche 20 janvier 2013 à 00:29 +0100, Laurent Vivier a écrit : > Le mercredi 02 janvier 2013 à 00:03 +, Peter Maydell a écrit : > > On 20 December 2012 21:00, Laurent Vivier wrote: > > > All parameters must be swapped before the call of do_msgrcv(). > > > --- a/linux-user/syscall.c

Re: [Qemu-devel] [PATCH] linux-user: correct msgrcv()

2013-01-19 Thread Laurent Vivier
Le mercredi 02 janvier 2013 à 00:03 +, Peter Maydell a écrit : > On 20 December 2012 21:00, Laurent Vivier wrote: > > All parameters must be swapped before the call of do_msgrcv(). > > --- a/linux-user/syscall.c > > +++ b/linux-user/syscall.c > > @@ -2901,7 +2901,7 @@ static inline abi_long do

Re: [Qemu-devel] [PATCH] linux-user: correct msgrcv()

2013-01-01 Thread Peter Maydell
On 20 December 2012 21:00, Laurent Vivier wrote: > All parameters must be swapped before the call of do_msgrcv(). > --- a/linux-user/syscall.c > +++ b/linux-user/syscall.c > @@ -2901,7 +2901,7 @@ static inline abi_long do_msgrcv(int msqid, abi_long > msgp, > return -TARGET_EFAULT; > >

Re: [Qemu-devel] [PATCH] linux-user: correct msgrcv()

2013-01-01 Thread Laurent Vivier
Ping ! Le jeudi 20 décembre 2012 à 22:00 +0100, Laurent Vivier a écrit : > All parameters must be swapped before the call of do_msgrcv(). > > Allow faked (debian fakeroot daemon) to work properly. > > WITHOUT this patch: > > $ faked-sysv --foreground --debug > using 1723744788 as msg key > msg_

[Qemu-devel] [PATCH] linux-user: correct msgrcv()

2012-12-20 Thread Laurent Vivier
All parameters must be swapped before the call of do_msgrcv(). Allow faked (debian fakeroot daemon) to work properly. WITHOUT this patch: $ faked-sysv --foreground --debug using 1723744788 as msg key msg_key=1723744788 1723744788:431 FAKEROOT: msg=131072, key=1723744788 FAKEROOT: r=-1, received