Home
last modified time | relevance | path

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

/linux/arch/x86/kernel/
H A Dshstk.c155 if (features_enabled(ARCH_SHSTK_SHSTK)) in shstk_setup()
174 features_set(ARCH_SHSTK_SHSTK); in shstk_setup()
196 if (!features_enabled(ARCH_SHSTK_SHSTK)) in shstk_alloc_thread_stack()
246 if (!features_enabled(ARCH_SHSTK_SHSTK)) in shstk_pop()
266 if (!features_enabled(ARCH_SHSTK_SHSTK)) in shstk_push()
391 !features_enabled(ARCH_SHSTK_SHSTK)) in setup_signal_shadow_stack()
424 !features_enabled(ARCH_SHSTK_SHSTK)) in restore_signal_shadow_stack()
447 !features_enabled(ARCH_SHSTK_SHSTK)) in shstk_free()
492 if (!features_enabled(ARCH_SHSTK_SHSTK)) in wrss_control()
527 if (!features_enabled(ARCH_SHSTK_SHSTK)) in shstk_disable()
[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()
936 if (ARCH_PRCTL(ARCH_SHSTK_ENABLE, ARCH_SHSTK_SHSTK)) in test_uprobe_call()
949 ARCH_PRCTL(ARCH_SHSTK_DISABLE, ARCH_SHSTK_SHSTK); in test_uprobe_call()
1062 if (ARCH_PRCTL(ARCH_SHSTK_ENABLE, ARCH_SHSTK_SHSTK)) { in main()
1067 if (ARCH_PRCTL(ARCH_SHSTK_DISABLE, ARCH_SHSTK_SHSTK)) { in main()
1072 if (ARCH_PRCTL(ARCH_SHSTK_ENABLE, ARCH_SHSTK_SHSTK)) { in main()
1167 if (ARCH_PRCTL(ARCH_SHSTK_DISABLE, ARCH_SHSTK_SHSTK)) { in main()
/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/tools/testing/selftests/bpf/prog_tests/
H A Duprobe_syscall.c786 #define ARCH_SHSTK_SHSTK (1ULL << 0) in __test_uprobe_syscall()
791 if (ARCH_PRCTL(ARCH_SHSTK_ENABLE, ARCH_SHSTK_SHSTK)) { in __test_uprobe_syscall()
809 ARCH_PRCTL(ARCH_SHSTK_DISABLE, ARCH_SHSTK_SHSTK);
625 #define ARCH_SHSTK_SHSTK global() macro