/linux-6.6.21/arch/s390/kernel/ |
D | signal.c | 293 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()
|
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()
|
/linux-6.6.21/arch/x86/kernel/ |
D | signal_32.c | 235 void __user *restorer; in ia32_setup_frame() local 252 restorer = ksig->ka.sa.sa_restorer; in ia32_setup_frame() 256 restorer = current->mm->context.vdso + in ia32_setup_frame() 259 restorer = &frame->retcode; in ia32_setup_frame() 268 unsafe_put_user(ptr_to_compat(restorer), &frame->pretcode, Efault); in ia32_setup_frame() 306 void __user *restorer; in ia32_setup_rt_frame() local 340 restorer = ksig->ka.sa.sa_restorer; in ia32_setup_rt_frame() 342 restorer = current->mm->context.vdso + in ia32_setup_rt_frame() 344 unsafe_put_user(ptr_to_compat(restorer), &frame->pretcode, Efault); in ia32_setup_rt_frame()
|
D | shstk.c | 349 void __user *restorer = ksig->ka.sa.sa_restorer; in setup_signal_shadow_stack() local 357 if (!restorer) in setup_signal_shadow_stack() 370 err = write_user_shstk_64((u64 __user *)ssp, (u64)restorer); in setup_signal_shadow_stack()
|
D | signal_64.c | 308 void __user *restorer; in x32_setup_rt_frame() local 326 restorer = ksig->ka.sa.sa_restorer; in x32_setup_rt_frame() 327 unsafe_put_user(restorer, (unsigned long __user *)&frame->pretcode, Efault); in x32_setup_rt_frame()
|
/linux-6.6.21/tools/testing/selftests/x86/ |
D | vdso_restorer.c | 29 void *restorer; member 63 sa.restorer = NULL; /* request kernel-provided restorer */ in main()
|
/linux-6.6.21/arch/x86/um/ |
D | signal.c | 365 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.6.21/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-6.6.21/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-6.6.21/Documentation/arch/x86/ |
D | shstk.rst | 139 restorer address to the shadow stack to help userspace avoid a shadow stack 140 violation on the sigreturn path that goes through the restorer.
|
/linux-6.6.21/kernel/ |
D | signal.c | 4478 compat_uptr_t restorer; in COMPAT_SYSCALL_DEFINE4() local 4491 ret |= get_user(restorer, &act->sa_restorer); in COMPAT_SYSCALL_DEFINE4() 4492 new_ka.sa.sa_restorer = compat_ptr(restorer); in COMPAT_SYSCALL_DEFINE4() 4561 compat_uptr_t handler, restorer; in COMPAT_SYSCALL_DEFINE3() local 4566 __get_user(restorer, &act->sa_restorer) || in COMPAT_SYSCALL_DEFINE3() 4575 new_ka.sa.sa_restorer = compat_ptr(restorer); in COMPAT_SYSCALL_DEFINE3()
|