/Linux-v5.15/arch/x86/ia32/ |
D | ia32_signal.c | 238 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()
|
/Linux-v5.15/arch/s390/kernel/ |
D | compat_signal.c | 259 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()
|
D | signal.c | 294 unsigned long restorer; in setup_frame() local 338 restorer = (unsigned long) ka->sa.sa_restorer; in setup_frame() 340 restorer = VDSO64_SYMBOL(current, sigreturn); in setup_frame() 343 regs->gprs[14] = restorer; in setup_frame() 370 unsigned long uc_flags, restorer; in setup_rt_frame() local 396 restorer = (unsigned long) ksig->ka.sa.sa_restorer; in setup_rt_frame() 398 restorer = VDSO64_SYMBOL(current, rt_sigreturn); in setup_rt_frame() 417 regs->gprs[14] = restorer; in setup_rt_frame()
|
/Linux-v5.15/arch/x86/kernel/ |
D | signal.c | 330 void __user *restorer; in __setup_frame() local 342 restorer = current->mm->context.vdso + in __setup_frame() 345 restorer = &frame->retcode; in __setup_frame() 347 restorer = ksig->ka.sa.sa_restorer; in __setup_frame() 350 unsafe_put_user(restorer, &frame->pretcode, Efault); in __setup_frame() 385 void __user *restorer; in __setup_rt_frame() local 406 restorer = current->mm->context.vdso + in __setup_rt_frame() 409 restorer = ksig->ka.sa.sa_restorer; in __setup_rt_frame() 410 unsafe_put_user(restorer, &frame->pretcode, Efault); in __setup_rt_frame() 569 void __user *restorer; in x32_setup_rt_frame() local [all …]
|
/Linux-v5.15/tools/testing/selftests/x86/ |
D | vdso_restorer.c | 29 void *restorer; member 63 sa.restorer = NULL; /* request kernel-provided restorer */ in main()
|
/Linux-v5.15/arch/x86/um/ |
D | signal.c | 364 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()
|
/Linux-v5.15/arch/sparc/kernel/ |
D | sys_sparc_32.c | 172 void __user *, restorer, in SYSCALL_DEFINE5() argument 183 new_ka.ka_restorer = restorer; in SYSCALL_DEFINE5()
|
D | sys_sparc32.c | 151 void __user *,restorer, in COMPAT_SYSCALL_DEFINE5() argument 164 new_ka.ka_restorer = restorer; in COMPAT_SYSCALL_DEFINE5()
|
D | sys_sparc_64.c | 680 struct sigaction __user *, oact, void __user *, restorer, in SYSCALL_DEFINE5() argument 691 new_ka.ka_restorer = restorer; in SYSCALL_DEFINE5()
|
/Linux-v5.15/arch/alpha/kernel/ |
D | signal.c | 92 size_t, sigsetsize, void __user *, restorer) in SYSCALL_DEFINE5() argument 102 new_ka.ka_restorer = restorer; in SYSCALL_DEFINE5()
|
/Linux-v5.15/kernel/ |
D | signal.c | 4399 compat_uptr_t restorer; in COMPAT_SYSCALL_DEFINE4() local 4412 ret |= get_user(restorer, &act->sa_restorer); in COMPAT_SYSCALL_DEFINE4() 4413 new_ka.sa.sa_restorer = compat_ptr(restorer); in COMPAT_SYSCALL_DEFINE4() 4482 compat_uptr_t handler, restorer; in COMPAT_SYSCALL_DEFINE3() local 4487 __get_user(restorer, &act->sa_restorer) || in COMPAT_SYSCALL_DEFINE3() 4496 new_ka.sa.sa_restorer = compat_ptr(restorer); in COMPAT_SYSCALL_DEFINE3()
|