[PATCH] Fix sys_ipc/sys_semtimedop decoding on s390

Dmitry V. Levin ldv at altlinux.org
Thu Dec 1 21:48:12 UTC 2011


On Wed, Nov 30, 2011 at 01:16:29PM +0100, Heiko Carstens wrote:
> The s390 kernel sys_ipc system call only takes five arguments instead of
> six arguments which the common code sys_ipc implementation takes.
> One of the arguments of the sys_semtimedop subcall is therefore passed in
> a different register than in the common code implementation.
> This leads to broken decoding of the timespec argument:
> 
> semtimedop(0, 0x3ffffb43832, 1, {...})  = -1 EAGAIN
> 
> Fixed it looks like this:
> 
> semtimedop(0, 0x3ffffc2c842, 1, {0, 10000000}) = -1 EINTR
> 
> * linux/ipc.c: Fix sys_semtimedop decoding on s390

Applied, thanks.


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20111202/faad05f5/attachment.bin>


More information about the Strace-devel mailing list