Home
last modified time | relevance | path

Searched refs:new_ssp (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/tools/testing/selftests/x86/
Dtest_shadow_stack.c132 void try_shstk(unsigned long new_ssp) in try_shstk() argument
137 new_ssp, *((unsigned long *)new_ssp)); in try_shstk()
140 printf("[INFO]\tchanging ssp from %lx to %lx\n", ssp, new_ssp); in try_shstk()
142 asm volatile("rstorssp (%0)\n":: "r" (new_ssp)); in try_shstk()
/linux-6.6.21/arch/x86/kernel/
Dprocess.c167 unsigned long new_ssp; in copy_thread() local
210 new_ssp = shstk_alloc_thread_stack(p, clone_flags, args->stack_size); in copy_thread()
211 if (IS_ERR_VALUE(new_ssp)) in copy_thread()
212 return PTR_ERR((void *)new_ssp); in copy_thread()
214 fpu_clone(p, clone_flags, args->fn, new_ssp); in copy_thread()