Searched refs:shstk (Results 1 - 6 of 6) sorted by relevance

/linux-master/arch/x86/kernel/
H A Dshstk.c3 * shstk.c - Intel shadow stack support
24 #include <asm/shstk.h>
159 struct thread_shstk *shstk = &current->thread.shstk; local
180 shstk->base = addr;
181 shstk->size = size;
189 memset(&current->thread.shstk, 0, sizeof(struct thread_shstk));
197 struct thread_shstk *shstk = &tsk->thread.shstk; local
213 shstk
407 struct thread_shstk *shstk = &tsk->thread.shstk; local
[all...]
H A Dsignal.c44 #include <asm/shstk.h>
H A DMakefile153 obj-$(CONFIG_X86_USER_SHADOW_STACK) += shstk.o
H A Dprocess.c54 #include <asm/shstk.h>
/linux-master/tools/testing/selftests/x86/
H A Dtest_shadow_stack.c122 void free_shstk(void *shstk) argument
124 munmap(shstk, SS_SIZE);
127 int reset_shstk(void *shstk) argument
129 return madvise(shstk, SS_SIZE, MADV_DONTNEED);
154 void *shstk = create_shstk(0); local
156 if (shstk == MAP_FAILED) {
160 try_shstk((unsigned long)shstk + SS_SIZE - 8);
161 free_shstk(shstk);
169 unsigned long *shstk = create_shstk(0); local
172 if (*shstk !
561 void *free_area, *shstk, *test_map = (void *)0xFFFFFFFFFFFFFFFF; local
[all...]
/linux-master/arch/x86/include/asm/
H A Dprocessor.h30 #include <asm/shstk.h>
490 struct thread_shstk shstk; member in struct:thread_struct

Completed in 147 milliseconds