Re: [Qemu-devel] [PATCH][v2] linux-user: correct semctl() and shmctl()

2013-01-20 Thread Peter Maydell
On 2 January 2013 20:38, Laurent Vivier wrote: > The parameter "union semun" of semctl() is not a value > but a pointer to the value. > > Moreover, all fields of target_su must be swapped (if needed). > > The third argument of shmctl is a pointer. > > WITHOUT this patch: > > $ ipcs > > kernel not

Re: [Qemu-devel] [PATCH][v2] linux-user: correct semctl() and shmctl()

2013-01-19 Thread Laurent Vivier
ping ? Le mercredi 02 janvier 2013 à 21:38 +0100, Laurent Vivier a écrit : > The parameter "union semun" of semctl() is not a value > but a pointer to the value. > > Moreover, all fields of target_su must be swapped (if needed). > > The third argument of shmctl is a pointer. > > WITHOUT this pa

[Qemu-devel] [PATCH][v2] linux-user: correct semctl() and shmctl()

2013-01-02 Thread Laurent Vivier
The parameter "union semun" of semctl() is not a value but a pointer to the value. Moreover, all fields of target_su must be swapped (if needed). The third argument of shmctl is a pointer. WITHOUT this patch: $ ipcs kernel not configured for shared memory qemu: uncaught target signal 11 (Segm