Home
last modified time | relevance | path

Searched refs:restorer (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/arch/x86/ia32/
Dia32_signal.c237 void __user *restorer; in ia32_setup_frame() local
254 restorer = ksig->ka.sa.sa_restorer; in ia32_setup_frame()
258 restorer = current->mm->context.vdso + in ia32_setup_frame()
261 restorer = &frame->retcode; in ia32_setup_frame()
270 unsafe_put_user(ptr_to_compat(restorer), &frame->pretcode, Efault); in ia32_setup_frame()
303 void __user *restorer; in ia32_setup_rt_frame() local
337 restorer = ksig->ka.sa.sa_restorer; in ia32_setup_rt_frame()
339 restorer = current->mm->context.vdso + in ia32_setup_rt_frame()
341 unsafe_put_user(ptr_to_compat(restorer), &frame->pretcode, Efault); in ia32_setup_rt_frame()
/linux-6.1.9/arch/s390/kernel/
Dsignal.c293 unsigned long restorer; in setup_frame() local
337 restorer = (unsigned long) ka->sa.sa_restorer; in setup_frame()
339 restorer = VDSO64_SYMBOL(current, sigreturn); in setup_frame()
342 regs->gprs[14] = restorer; in setup_frame()
369 unsigned long uc_flags, restorer; in setup_rt_frame() local
395 restorer = (unsigned long) ksig->ka.sa.sa_restorer; in setup_rt_frame()
397 restorer = VDSO64_SYMBOL(current, rt_sigreturn); in setup_rt_frame()
416 regs->gprs[14] = restorer; in setup_rt_frame()
Dcompat_signal.c259 unsigned long restorer; in setup_frame32() local
304 restorer = (unsigned long __force) in setup_frame32()
307 restorer = VDSO32_SYMBOL(current, sigreturn); in setup_frame32()
311 regs->gprs[14] = restorer; in setup_frame32()
339 unsigned long restorer; in setup_rt_frame32() local
367 restorer = (unsigned long __force) in setup_rt_frame32()
370 restorer = VDSO32_SYMBOL(current, rt_sigreturn); in setup_rt_frame32()
390 regs->gprs[14] = restorer; in setup_rt_frame32()
/linux-6.1.9/arch/x86/kernel/
Dsignal.c331 void __user *restorer; in __setup_frame() local
343 restorer = current->mm->context.vdso + in __setup_frame()
346 restorer = &frame->retcode; in __setup_frame()
348 restorer = ksig->ka.sa.sa_restorer; in __setup_frame()
351 unsafe_put_user(restorer, &frame->pretcode, Efault); in __setup_frame()
386 void __user *restorer; in __setup_rt_frame() local
407 restorer = current->mm->context.vdso + in __setup_rt_frame()
410 restorer = ksig->ka.sa.sa_restorer; in __setup_rt_frame()
411 unsafe_put_user(restorer, &frame->pretcode, Efault); in __setup_rt_frame()
570 void __user *restorer; in x32_setup_rt_frame() local
[all …]
/linux-6.1.9/tools/testing/selftests/x86/
Dvdso_restorer.c29 void *restorer; member
63 sa.restorer = NULL; /* request kernel-provided restorer */ in main()
/linux-6.1.9/arch/x86/um/
Dsignal.c365 void __user *restorer; in setup_signal_stack_sc() local
374 restorer = frame->retcode; in setup_signal_stack_sc()
376 restorer = ksig->ka.sa.sa_restorer; in setup_signal_stack_sc()
378 err |= __put_user(restorer, &frame->pretcode); in setup_signal_stack_sc()
411 void __user *restorer; in setup_signal_stack_si() local
419 restorer = frame->retcode; in setup_signal_stack_si()
421 restorer = ksig->ka.sa.sa_restorer; in setup_signal_stack_si()
423 err |= __put_user(restorer, &frame->pretcode); in setup_signal_stack_si()
/linux-6.1.9/arch/sparc/kernel/
Dsys_sparc_32.c172 void __user *, restorer, in SYSCALL_DEFINE5() argument
183 new_ka.ka_restorer = restorer; in SYSCALL_DEFINE5()
Dsys_sparc32.c151 void __user *,restorer, in COMPAT_SYSCALL_DEFINE5() argument
164 new_ka.ka_restorer = restorer; in COMPAT_SYSCALL_DEFINE5()
Dsys_sparc_64.c680 struct sigaction __user *, oact, void __user *, restorer, in SYSCALL_DEFINE5() argument
691 new_ka.ka_restorer = restorer; in SYSCALL_DEFINE5()
/linux-6.1.9/arch/alpha/kernel/
Dsignal.c92 size_t, sigsetsize, void __user *, restorer) in SYSCALL_DEFINE5() argument
102 new_ka.ka_restorer = restorer; in SYSCALL_DEFINE5()
/linux-6.1.9/kernel/
Dsignal.c4442 compat_uptr_t restorer; in COMPAT_SYSCALL_DEFINE4() local
4455 ret |= get_user(restorer, &act->sa_restorer); in COMPAT_SYSCALL_DEFINE4()
4456 new_ka.sa.sa_restorer = compat_ptr(restorer); in COMPAT_SYSCALL_DEFINE4()
4525 compat_uptr_t handler, restorer; in COMPAT_SYSCALL_DEFINE3() local
4530 __get_user(restorer, &act->sa_restorer) || in COMPAT_SYSCALL_DEFINE3()
4539 new_ka.sa.sa_restorer = compat_ptr(restorer); in COMPAT_SYSCALL_DEFINE3()