Searched refs:shstk (Results 1 – 7 of 7) sorted by relevance
159 struct thread_shstk *shstk = ¤t->thread.shstk; in shstk_setup() local180 shstk->base = addr; in shstk_setup()181 shstk->size = size; in shstk_setup()197 struct thread_shstk *shstk = &tsk->thread.shstk; in shstk_alloc_thread_stack() local213 shstk->base = 0; in shstk_alloc_thread_stack()214 shstk->size = 0; in shstk_alloc_thread_stack()230 shstk->base = addr; in shstk_alloc_thread_stack()407 struct thread_shstk *shstk = &tsk->thread.shstk; in shstk_free() local426 if (!shstk->base) in shstk_free()438 unmap_shadow_stack(shstk->base, shstk->size); in shstk_free()[all …]
155 obj-$(CONFIG_X86_USER_SHADOW_STACK) += shstk.o
123 void free_shstk(void *shstk) in free_shstk() argument125 munmap(shstk, SS_SIZE); in free_shstk()157 if (shstk == MAP_FAILED) { in test_shstk_pivot()162 free_shstk(shstk); in test_shstk_pivot()173 if (*shstk != 0) in test_shstk_faults()177 write_shstk(shstk, 1); in test_shstk_faults()178 if (*shstk != 1) in test_shstk_faults()185 write_shstk(shstk, 1); in test_shstk_faults()186 if (*shstk != 1) in test_shstk_faults()570 if (shstk == MAP_FAILED) in test_guard_gap_other_gaps()[all …]
25 shstk
108 user can read the /proc/$PID/status. It will report "wrss" or "shstk"111 x86_Thread_features: shstk wrss112 x86_Thread_features_locked: shstk wrss
503 struct thread_shstk shstk; member
1966 See Documentation/arch/x86/shstk.rst for more information.