]> granicus.if.org Git - strace/commit
Add multi-personality support to struct old_sigaction decoding
authorElliott Hughes <enh@google.com>
Fri, 28 Feb 2014 23:21:35 +0000 (23:21 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 28 Feb 2014 23:35:21 +0000 (23:35 +0000)
commit458b3f2fd964d23cf779c235ecb2b8f1c40d994c
tree91199c2ce5a7a8f68a0b3d40695f6428afcfc3b0
parentfb642bb6d63f7ffe2228bf48a6008bc8f56f67ff
Add multi-personality support to struct old_sigaction decoding

struct sigaction is another structure that contains members
whose size differs between 32-bit and 64-bit personalities.

* signal.c [HAVE_SIGACTION] (old_sigaction32): New structure.
[HAVE_SIGACTION] (decode_old_sigaction): Decode 32-bit struct
old_sigaction on a 64-bit host.

Signed-off-by: Elliott Hughes <enh@google.com>
signal.c