Searched refs:shstk (Results 1 – 6 of 6) 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()189 memset(¤t->thread.shstk, 0, sizeof(struct thread_shstk)); in reset_thread_features()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()231 shstk->size = size; in shstk_alloc_thread_stack()447 struct thread_shstk *shstk = &tsk->thread.shstk; in shstk_free() local[all …]
157 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()128 int reset_shstk(void *shstk) in reset_shstk() argument130 return madvise(shstk, SS_SIZE, MADV_DONTNEED); in reset_shstk()155 void *shstk = create_shstk(0); in test_shstk_pivot() local157 if (shstk == MAP_FAILED) { in test_shstk_pivot()161 try_shstk((unsigned long)shstk + SS_SIZE - 8); in test_shstk_pivot()162 free_shstk(shstk); in test_shstk_pivot()170 unsigned long *shstk = create_shstk(0); in test_shstk_faults() local173 if (*shstk != 0) in test_shstk_faults()[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
1893 See Documentation/arch/x86/shstk.rst for more information.