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

2013-01-31 Thread Laurent Vivier
Sorry, this one is wrong, I missed some returns... Regards, LAurent Le jeudi 31 janvier 2013 à 20:36 +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

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

2013-01-31 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