linux-user: Use safe_syscall wrapper for semop
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 6 Jun 2016 18:58:12 +0000 (19:58 +0100)
committerRiku Voipio <riku.voipio@linaro.org>
Wed, 8 Jun 2016 07:13:46 +0000 (10:13 +0300)
commitffb7ee796ae83b1e4b3c108f8615d54b53872c68
treec4121ebe1cf88137de0dfdceff23439f2283c4fc
parent227f02143f269493543faf6908318c17abd725cd
linux-user: Use safe_syscall wrapper for semop

Use the safe_syscall wrapper for the semop syscall or IPC operation.
(We implement via the semtimedop syscall to make it easier to
implement the guest semtimedop syscall later.)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/syscall.c