Home
last modified time | relevance | path

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

/linux/arch/x86/kernel/
H A Dshstk.c163 if (features_enabled(ARCH_SHSTK_SHSTK)) in shstk_setup()
182 features_set(ARCH_SHSTK_SHSTK); in shstk_setup()
204 if (!features_enabled(ARCH_SHSTK_SHSTK)) in shstk_alloc_thread_stack()
354 !features_enabled(ARCH_SHSTK_SHSTK)) in setup_signal_shadow_stack()
387 !features_enabled(ARCH_SHSTK_SHSTK)) in restore_signal_shadow_stack()
410 !features_enabled(ARCH_SHSTK_SHSTK)) in shstk_free()
455 if (!features_enabled(ARCH_SHSTK_SHSTK)) in wrss_control()
490 if (!features_enabled(ARCH_SHSTK_SHSTK)) in shstk_disable()
500 features_clr(ARCH_SHSTK_SHSTK | ARCH_SHSTK_WRSS); in shstk_disable()
568 if (features & ARCH_SHSTK_SHSTK) in shstk_prctl()
[all …]
/linux/tools/testing/selftests/x86/
H A Dtest_shadow_stack.c54 #define ARCH_SHSTK_SHSTK (1ULL << 0) macro
694 ARCH_PRCTL(ARCH_SHSTK_DISABLE, ARCH_SHSTK_SHSTK); in segv_gp_handler()
857 ARCH_PRCTL(ARCH_SHSTK_ENABLE, ARCH_SHSTK_SHSTK); in test_uretprobe()
869 ARCH_PRCTL(ARCH_SHSTK_DISABLE, ARCH_SHSTK_SHSTK); in test_uretprobe()
982 if (ARCH_PRCTL(ARCH_SHSTK_ENABLE, ARCH_SHSTK_SHSTK)) { in main()
987 if (ARCH_PRCTL(ARCH_SHSTK_DISABLE, ARCH_SHSTK_SHSTK)) { in main()
992 if (ARCH_PRCTL(ARCH_SHSTK_ENABLE, ARCH_SHSTK_SHSTK)) { in main()
1081 if (ARCH_PRCTL(ARCH_SHSTK_DISABLE, ARCH_SHSTK_SHSTK)) { in main()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Duprobe_syscall.c336 #define ARCH_SHSTK_SHSTK (1ULL << 0) macro
341 if (ARCH_PRCTL(ARCH_SHSTK_ENABLE, ARCH_SHSTK_SHSTK)) { in test_uretprobe_shadow_stack()
351 ARCH_PRCTL(ARCH_SHSTK_DISABLE, ARCH_SHSTK_SHSTK); in test_uretprobe_shadow_stack()
/linux/tools/arch/x86/include/uapi/asm/
H A Dprctl.h
/linux/arch/x86/include/uapi/asm/
H A Dprctl.h40 #define ARCH_SHSTK_SHSTK (1ULL << 0) macro
/linux/arch/x86/kernel/cpu/
H A Dproc.c184 if (features & ARCH_SHSTK_SHSTK) in dump_x86_features()
/linux/arch/x86/kernel/fpu/
H A Dregset.c181 if (target->thread.features & ARCH_SHSTK_SHSTK) in ssp_active()
/linux/Documentation/arch/x86/
H A Dshstk.rst98 ARCH_SHSTK_SHSTK - Shadow stack