Searched refs:new_ssp (Results 1 – 2 of 2) sorted by relevance
/linux/arch/x86/kernel/ |
H A D | process.c | 168 unsigned long new_ssp; in copy_thread() local 209 * is disabled, new_ssp will remain 0, and fpu_clone() will know not to in copy_thread() 212 new_ssp = shstk_alloc_thread_stack(p, clone_flags, args->stack_size); in copy_thread() 213 if (IS_ERR_VALUE(new_ssp)) in copy_thread() 214 return PTR_ERR((void *)new_ssp); in copy_thread() 216 fpu_clone(p, clone_flags, args->fn, new_ssp); in copy_thread()
|
/linux/tools/testing/selftests/x86/ |
H A D | test_shadow_stack.c | 133 void try_shstk(unsigned long new_ssp) in try_shstk() argument 137 printf("[INFO]\tnew_ssp = %lx, *new_ssp = %lx\n", in try_shstk() 138 new_ssp, *((unsigned long *)new_ssp)); in try_shstk() 141 printf("[INFO]\tchanging ssp from %lx to %lx\n", ssp, new_ssp); in try_shstk() 143 asm volatile("rstorssp (%0)\n":: "r" (new_ssp)); in try_shstk()
|