1#define SIZEOF_STRUCT_SIGINFO 128
2#define SIZEOF_STRUCT_SIGCONTEXT (21 * 4)
3#define OFFSETOF_STRUCT_UCONTEXT_UC_SIGMASK (5 * 4 + SIZEOF_STRUCT_SIGCONTEXT)
4
5const long addr =
6#ifdef AARCH64
7	current_personality == 1 ?
8		(*aarch64_sp_ptr + SIZEOF_STRUCT_SIGINFO +
9		 offsetof(struct ucontext, uc_sigmask)) :
10#endif
11		(*arm_sp_ptr +
12		 OFFSETOF_STRUCT_UCONTEXT_UC_SIGMASK);
13tprints("{mask=");
14print_sigset_addr_len(tcp, addr, NSIG / 8);
15tprints("}");
16