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
On 20 January 2013 21:12, Laurent Vivier laur...@vivier.eu wrote:
case GETALL:
case SETALL:
-err = target_to_host_semarray(semid, array, target_su.array);
+err = target_to_host_semarray(semid, array,
+
Ping !
Le jeudi 20 décembre 2012 à 21:58 +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 patch:
$
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