Home
last modified time | relevance | path

Searched refs:sigframe (Results 1 – 21 of 21) sorted by relevance

/linux-6.1.9/arch/arm/kernel/
Dsignal.h3 struct sigframe { struct
10 struct sigframe sig; argument
Dsignal.c139 static int restore_sigframe(struct pt_regs *regs, struct sigframe __user *sf) in restore_sigframe()
188 struct sigframe __user *frame; in sys_sigreturn()
201 frame = (struct sigframe __user *)regs->ARM_sp; in sys_sigreturn()
250 setup_sigframe(struct sigframe __user *sf, struct pt_regs *regs, sigset_t *set) in setup_sigframe()
448 struct sigframe __user *frame = get_sigframe(ksig, regs, sizeof(*frame)); in setup_frame()
Dasm-offsets.c88 DEFINE(SIGFRAME_RC3_OFFSET, offsetof(struct sigframe, retcode[3])); in main()
/linux-6.1.9/arch/powerpc/perf/
Dcallchain_64.c74 struct signal_frame_64 __user *sigframe; in perf_callchain_user_64() local
102 sigframe = (struct signal_frame_64 __user *) sp; in perf_callchain_user_64()
103 uregs = sigframe->uc.uc_mcontext.gp_regs; in perf_callchain_user_64()
/linux-6.1.9/arch/ia64/kernel/
Dasm-offsets.c31 DEFINE(SIGFRAME_SIZE, sizeof (struct sigframe)); in foo()
193 DEFINE(IA64_SIGFRAME_ARG0_OFFSET, offsetof (struct sigframe, arg0)); in foo()
194 DEFINE(IA64_SIGFRAME_ARG1_OFFSET, offsetof (struct sigframe, arg1)); in foo()
195 DEFINE(IA64_SIGFRAME_ARG2_OFFSET, offsetof (struct sigframe, arg2)); in foo()
196 DEFINE(IA64_SIGFRAME_HANDLER_OFFSET, offsetof (struct sigframe, handler)); in foo()
197 DEFINE(IA64_SIGFRAME_SIGCONTEXT_OFFSET, offsetof (struct sigframe, sc)); in foo()
Dsigframe.h8 struct sigframe { struct
Dsignal.c115 sc = &((struct sigframe __user *) (scr->pt.r12 + 16))->sc; in ia64_rt_sigreturn()
230 struct sigframe __user *frame; in setup_frame()
/linux-6.1.9/arch/arm64/kernel/
Dsignal.c50 struct rt_sigframe __user *sigframe; member
71 sizeof(user->sigframe->uc.uc_mcontext.__reserved); in init_user_layout()
166 char __user *base = (char __user *)user->sigframe; in apply_user_offset()
781 struct rt_sigframe __user *sf = user->sigframe; in setup_sigframe()
830 char __user *sfp = (char __user *)user->sigframe; in setup_sigframe()
892 user->sigframe = (struct rt_sigframe __user *)sp; in get_sigframe()
897 if (!access_ok(user->sigframe, sp_top - sp)) in get_sigframe()
909 regs->sp = (unsigned long)user->sigframe; in setup_return()
969 frame = user.sigframe; in setup_rt_frame()
/linux-6.1.9/arch/s390/kernel/
Dsignal.c64 struct sigframe struct
221 struct sigframe __user *frame = in SYSCALL_DEFINE0()
222 (struct sigframe __user *) regs->gprs[15]; in SYSCALL_DEFINE0()
291 struct sigframe __user *frame; in setup_frame()
/linux-6.1.9/arch/x86/um/
Dsignal.c339 struct sigframe struct
364 struct sigframe __user *frame; in setup_signal_stack_sc() argument
370 frame = (struct sigframe __user *) stack_top - 1; in setup_signal_stack_sc()
456 struct sigframe __user *frame = (struct sigframe __user *)(sp - 8); in sys_sigreturn()
/linux-6.1.9/arch/mips/kernel/
Dsignal.c47 struct sigframe { struct
638 struct sigframe __user *frame; in sys_sigreturn()
644 frame = (struct sigframe __user *)regs->regs[29]; in sys_sigreturn()
716 struct sigframe __user *frame; in setup_frame()
946 BUILD_BUG_ON((offsetof(struct sigframe, sf_extcontext) - in signal_setup()
947 offsetof(struct sigframe, sf_sc)) != in signal_setup()
/linux-6.1.9/arch/sh/kernel/
Dsignal_32.c62 struct sigframe struct
155 struct sigframe __user *frame = (struct sigframe __user *)regs->regs[15]; in sys_sigreturn()
269 struct sigframe __user *frame; in setup_frame()
/linux-6.1.9/arch/x86/include/asm/
Dsigframe.h11 #define sigframe_ia32 sigframe
/linux-6.1.9/tools/testing/selftests/arm64/signal/
Dtest_signals_utils.h122 int fake_sigreturn(void *sigframe, size_t sz, int misalign_bytes);
DREADME31 - 'fake_sigreturn_' tests: a brand new custom artificial sigframe structure
/linux-6.1.9/arch/powerpc/kernel/
Dsignal_32.c194 struct sigframe { struct
239 sizeof(struct sigframe) + __SIGNAL_FRAMESIZE); in get_min_sigframe_size_32()
836 struct sigframe __user *frame; in handle_signal32()
1298 struct sigframe __user *sf; in COMPAT_SYSCALL_DEFINE0()
1310 sf = (struct sigframe __user *)(regs->gpr[1] + __SIGNAL_FRAMESIZE); in COMPAT_SYSCALL_DEFINE0()
/linux-6.1.9/arch/m68k/kernel/
Dsignal.c224 struct sigframe struct
759 struct sigframe __user *frame = (struct sigframe __user *)(usp - 4); in do_sigreturn()
871 struct sigframe __user *frame; in setup_frame()
/linux-6.1.9/arch/x86/kernel/
Dsignal.c330 struct sigframe __user *frame; in __setup_frame()
630 struct sigframe __user *frame; in SYSCALL_DEFINE0()
633 frame = (struct sigframe __user *)(regs->sp - 8); in SYSCALL_DEFINE0()
/linux-6.1.9/arch/alpha/kernel/
Dsignal.c125 struct sigframe struct
331 struct sigframe __user *frame; in setup_frame()
/linux-6.1.9/Documentation/x86/
Dxstate.rst52 resulting sigframe size, ARCH_REQ_XCOMP_SUPP results in -ENOSUPP. Also,
/linux-6.1.9/arch/microblaze/kernel/
Dsignal.c45 struct sigframe { struct