Home
last modified time | relevance | path

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

/openbmc/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()
568 if (features & ARCH_SHSTK_SHSTK) in shstk_prctl()
574 if (features & ARCH_SHSTK_SHSTK) in shstk_prctl()
[all …]
/openbmc/linux/tools/testing/selftests/x86/
H A Dtest_shadow_stack.c53 #define ARCH_SHSTK_SHSTK (1ULL << 0) macro
640 ARCH_PRCTL(ARCH_SHSTK_DISABLE, ARCH_SHSTK_SHSTK); in segv_gp_handler()
790 if (ARCH_PRCTL(ARCH_SHSTK_ENABLE, ARCH_SHSTK_SHSTK)) { in main()
795 if (ARCH_PRCTL(ARCH_SHSTK_DISABLE, ARCH_SHSTK_SHSTK)) { in main()
800 if (ARCH_PRCTL(ARCH_SHSTK_ENABLE, ARCH_SHSTK_SHSTK)) { in main()
877 if (ARCH_PRCTL(ARCH_SHSTK_DISABLE, ARCH_SHSTK_SHSTK)) { in main()
/openbmc/linux/arch/x86/include/uapi/asm/
H A Dprctl.h40 #define ARCH_SHSTK_SHSTK (1ULL << 0) macro
/openbmc/linux/arch/x86/kernel/cpu/
H A Dproc.c184 if (features & ARCH_SHSTK_SHSTK) in dump_x86_features()
/openbmc/linux/arch/x86/kernel/fpu/
H A Dregset.c181 if (target->thread.features & ARCH_SHSTK_SHSTK) in ssp_active()
/openbmc/linux/Documentation/arch/x86/
H A Dshstk.rst98 ARCH_SHSTK_SHSTK - Shadow stack