Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/x86/ia32/
Dia32_signal.c238 void __user *restorer; in ia32_setup_frame() local
255 restorer = ksig->ka.sa.sa_restorer; in ia32_setup_frame()
259 restorer = current->mm->context.vdso + in ia32_setup_frame()
262 restorer = &frame->retcode; in ia32_setup_frame()
271 unsafe_put_user(ptr_to_compat(restorer), &frame->pretcode, Efault); in ia32_setup_frame()
304 void __user *restorer; in ia32_setup_rt_frame() local
338 restorer = ksig->ka.sa.sa_restorer; in ia32_setup_rt_frame()
340 restorer = current->mm->context.vdso + in ia32_setup_rt_frame()
342 unsafe_put_user(ptr_to_compat(restorer), &frame->pretcode, Efault); in ia32_setup_rt_frame()
/kernel/linux/linux-5.10/arch/s390/kernel/
Dsignal.c292 unsigned long restorer; in setup_frame() local
336 restorer = (unsigned long) ka->sa.sa_restorer; in setup_frame()
342 restorer = (unsigned long) svc; in setup_frame()
346 regs->gprs[14] = restorer; in setup_frame()
373 unsigned long uc_flags, restorer; in setup_rt_frame() local
399 restorer = (unsigned long) ksig->ka.sa.sa_restorer; in setup_rt_frame()
404 restorer = (unsigned long) svc; in setup_rt_frame()
424 regs->gprs[14] = restorer; in setup_rt_frame()
Dcompat_signal.c258 unsigned long restorer; in setup_frame32() local
303 restorer = (unsigned long __force) in setup_frame32()
310 restorer = (unsigned long __force) svc | PSW32_ADDR_AMODE; in setup_frame32()
314 regs->gprs[14] = restorer; in setup_frame32()
342 unsigned long restorer; in setup_rt_frame32() local
370 restorer = (unsigned long __force) in setup_rt_frame32()
376 restorer = (unsigned long __force) svc | PSW32_ADDR_AMODE; in setup_rt_frame32()
396 regs->gprs[14] = restorer; in setup_rt_frame32()
/kernel/linux/linux-5.10/arch/x86/kernel/
Dsignal.c325 void __user *restorer; in __setup_frame() local
337 restorer = current->mm->context.vdso + in __setup_frame()
340 restorer = &frame->retcode; in __setup_frame()
342 restorer = ksig->ka.sa.sa_restorer; in __setup_frame()
345 unsafe_put_user(restorer, &frame->pretcode, Efault); in __setup_frame()
380 void __user *restorer; in __setup_rt_frame() local
401 restorer = current->mm->context.vdso + in __setup_rt_frame()
404 restorer = ksig->ka.sa.sa_restorer; in __setup_rt_frame()
405 unsafe_put_user(restorer, &frame->pretcode, Efault); in __setup_rt_frame()
564 void __user *restorer; in x32_setup_rt_frame() local
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/x86/
Dvdso_restorer.c29 void *restorer; member
63 sa.restorer = NULL; /* request kernel-provided restorer */ in main()
/kernel/linux/linux-5.10/arch/x86/um/
Dsignal.c364 void __user *restorer; in setup_signal_stack_sc() local
373 restorer = frame->retcode; in setup_signal_stack_sc()
375 restorer = ksig->ka.sa.sa_restorer; in setup_signal_stack_sc()
377 err |= __put_user(restorer, &frame->pretcode); in setup_signal_stack_sc()
410 void __user *restorer; in setup_signal_stack_si() local
418 restorer = frame->retcode; in setup_signal_stack_si()
420 restorer = ksig->ka.sa.sa_restorer; in setup_signal_stack_si()
422 err |= __put_user(restorer, &frame->pretcode); in setup_signal_stack_si()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/alpha/kernel/
Dsignal.c92 size_t, sigsetsize, void __user *, restorer) in SYSCALL_DEFINE5() argument
102 new_ka.ka_restorer = restorer; in SYSCALL_DEFINE5()
/kernel/linux/linux-5.10/kernel/
Dsignal.c4274 compat_uptr_t restorer; in COMPAT_SYSCALL_DEFINE4() local
4287 ret |= get_user(restorer, &act->sa_restorer); in COMPAT_SYSCALL_DEFINE4()
4288 new_ka.sa.sa_restorer = compat_ptr(restorer); in COMPAT_SYSCALL_DEFINE4()
4357 compat_uptr_t handler, restorer; in COMPAT_SYSCALL_DEFINE3() local
4362 __get_user(restorer, &act->sa_restorer) || in COMPAT_SYSCALL_DEFINE3()
4371 new_ka.sa.sa_restorer = compat_ptr(restorer); in COMPAT_SYSCALL_DEFINE3()