si_syscall
static_assert(offsetof(siginfo_t, si_syscall) == 0x10);
static_assert(offsetof(siginfo_t, si_syscall) == 0x18);
static_assert(offsetof(compat_siginfo_t, si_syscall) == 0x10);
BUILD_BUG_ON(offsetof(siginfo_t, si_syscall) != 0x10);
PT_SYSCALL_NR(regs->gp) = si->si_syscall;
static_assert(offsetof(siginfo32_t, si_syscall) == 0x10);
static_assert(offsetof(siginfo_t, si_syscall) == 0x18);
new.ssi_syscall = kinfo->si_syscall;
info.si_syscall = syscall_get_nr(current, regs);
info.si_syscall = syscall;
to->si_syscall = from->si_syscall;
to->si_syscall = from->si_syscall;
CHECK_OFFSET(si_syscall);
#ifdef si_syscall
len = snprintf(buf, 1024, "Caught sys_%x\n", info->si_syscall);
if (info->si_syscall == MAGIC_SYSCALL_1)
if (info->si_syscall == MAGIC_SYSCALL_1)