strace/linux/tile/arch_sigreturn.c
Khem Raj 293e98256a aarch64, tile: replace struct ucontext with ucontext_t
glibc >= 2.26 has dropped the tag struct ucontext from ucontext_t type.

* linux/arm/arch_sigreturn.c (arch_sigreturn) [AARCH64]: Replace
struct ucontext with ucontext_t.
* linux/tile/arch_sigreturn.c (arch_sigreturn): Likewise.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
2017-07-01 09:47:02 +00:00

13 lines
349 B
C

static void
arch_sigreturn(struct tcb *tcp)
{
/* offset of ucontext in the kernel's sigframe structure */
#define SIGFRAME_UC_OFFSET C_ABI_SAVE_AREA_SIZE + sizeof(siginfo_t)
const unsigned long addr = tile_regs.sp + SIGFRAME_UC_OFFSET +
offsetof(ucontext_t, uc_sigmask);
tprints("{mask=");
print_sigset_addr(tcp, addr);
tprints("}");
}