Home
last modified time | relevance | path

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

/linux/arch/x86/kernel/
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 …]
/linux/tools/testing/selftests/x86/
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/
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/arch/x86/include/uapi/asm/
A Dprctl.h40 #define ARCH_SHSTK_SHSTK (1ULL << 0) macro
/linux/tools/perf/trace/beauty/arch/x86/include/uapi/asm/
A Dprctl.h40 #define ARCH_SHSTK_SHSTK (1ULL << 0) macro
/linux/arch/x86/kernel/cpu/
A Dproc.c184 if (features & ARCH_SHSTK_SHSTK) in dump_x86_features()
/linux/arch/x86/kernel/fpu/
A Dregset.c181 if (target->thread.features & ARCH_SHSTK_SHSTK) in ssp_active()
/linux/Documentation/arch/x86/
A Dshstk.rst98 ARCH_SHSTK_SHSTK - Shadow stack

Completed in 19 milliseconds