]> granicus.if.org Git - strace/commit
Fix oldselect decoding on 64-bit architectures
authorElvira Khabirova <lineprinter0@gmail.com>
Wed, 29 Jul 2015 18:38:54 +0000 (21:38 +0300)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 30 Jul 2015 22:02:56 +0000 (22:02 +0000)
commitc44df3e3ca1e632383726744728d6b7f61a6f449
tree10de23cc06a8d544bfefa7f815f54fad7691b081
parent52dc1506abc7372c4beebbd185d09501f52c6283
Fix oldselect decoding on 64-bit architectures

As struct sel_arg_struct is an array of 32-bit values,
fetch it using an intermediate array on 64-bit architectures.

* desc.c (sys_oldselect): Rename args to long_args.
[SIZEOF_LONG == 4] Alias oldselect_args to long_args.
[SIZEOF_LONG != 4] Introduce oldselect_args to fetch oldselect args.
* linux/sh64/syscallent.h (oldselect): Remove.
desc.c
linux/sh64/syscallent.h