linux-user: Dereference Pointer Argument to ipc/semctl Sys Call
authorTom Musta <tommusta@gmail.com>
Tue, 12 Aug 2014 18:53:33 +0000 (13:53 -0500)
committerRiku Voipio <riku.voipio@linaro.org>
Fri, 22 Aug 2014 12:06:34 +0000 (15:06 +0300)
commit5d2fa8ebb4dae0057ed9baab617971dcd5ea493f
treead944fae2d8f3c3da3fd3aa106d63667986540a6
parent035273440b4d12c6e8b1cf2787778064355d21e2
linux-user: Dereference Pointer Argument to ipc/semctl Sys Call

When the ipc system call is used to wrap a semctl system call,
the ptr argument to ipc needs to be dereferenced prior to passing
it to the semctl handler.  This is because the fourth argument to
semctl is a union and not a pointer to a union.

Signed-off-by: Tom Musta <tommusta@gmail.com>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/syscall.c