]> granicus.if.org Git - strace/commit
hppa: fix sigaction decoding
authorMike Frysinger <vapier@gentoo.org>
Sat, 9 Aug 2014 13:04:18 +0000 (09:04 -0400)
committerDmitry V. Levin <ldv@altlinux.org>
Sat, 9 Aug 2014 15:27:55 +0000 (15:27 +0000)
commitd632e10f51b77b2a8aac4add3cd8d5691f6090bc
tree5c86075f7afce943678ec47cb6131fe0d56ff378
parente355c60b1decdadc1be7217c195afa02e30a7dd1
hppa: fix sigaction decoding

Since the rt_sigaction syscall on hppa doesn't have a sa_restorer,
do not include it in the kernel struct.

We also have to undefine SA_RESTORER so that code doesn't try to
use it.  The headers will export this, but the syscall doesn't
actually respect it.

* signal.c (SA_RESTORER): Undefine when HPPA is defined.
(struct new_sigaction): Disable sa_restorer on hppa.
signal.c