Home
last modified time | relevance | path

Searched refs:shstk (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/arch/x86/kernel/
H A Dshstk.c159 struct thread_shstk *shstk = &current->thread.shstk; in shstk_setup() local
180 shstk->base = addr; in shstk_setup()
181 shstk->size = size; in shstk_setup()
189 memset(&current->thread.shstk, 0, sizeof(struct thread_shstk)); in reset_thread_features()
197 struct thread_shstk *shstk = &tsk->thread.shstk; in shstk_alloc_thread_stack() local
213 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()
407 struct thread_shstk *shstk = &tsk->thread.shstk; in shstk_free() local
[all …]
H A DMakefile150 obj-$(CONFIG_X86_USER_SHADOW_STACK) += shstk.o
/openbmc/linux/tools/testing/selftests/x86/
H A Dtest_shadow_stack.c122 void free_shstk(void *shstk) in free_shstk() argument
124 munmap(shstk, SS_SIZE); in free_shstk()
127 int reset_shstk(void *shstk) in reset_shstk() argument
129 return madvise(shstk, SS_SIZE, MADV_DONTNEED); in reset_shstk()
154 void *shstk = create_shstk(0); in test_shstk_pivot() local
156 if (shstk == MAP_FAILED) { in test_shstk_pivot()
160 try_shstk((unsigned long)shstk + SS_SIZE - 8); in test_shstk_pivot()
161 free_shstk(shstk); in test_shstk_pivot()
169 unsigned long *shstk = create_shstk(0); in test_shstk_faults() local
172 if (*shstk != 0) in test_shstk_faults()
[all …]
/openbmc/linux/Documentation/arch/x86/
H A Dindex.rst25 shstk
H A Dshstk.rst108 user can read the /proc/$PID/status. It will report "wrss" or "shstk"
111 x86_Thread_features: shstk wrss
112 x86_Thread_features_locked: shstk wrss
/openbmc/linux/arch/x86/include/asm/
H A Dprocessor.h497 struct thread_shstk shstk; member
/openbmc/linux/arch/x86/
H A DKconfig1926 See Documentation/arch/x86/shstk.rst for more information.
/openbmc/linux/
H A Dopengrok1.0.log[all...]