Searched refs:PR_SHADOW_STACK_ENABLE (Results 1 – 15 of 15) sorted by relevance
/linux/tools/testing/selftests/arm64/gcs/ |
H A D | basic-gcs.c | 29 bool enabling = mode & PR_SHADOW_STACK_ENABLE; in gcs_set_status() 78 return state & PR_SHADOW_STACK_ENABLE; in read_status() 86 ret = gcs_set_status(PR_SHADOW_STACK_ENABLE); in base_enable() 88 ksft_print_msg("PR_SHADOW_STACK_ENABLE failed %d\n", ret); in base_enable() 112 ret = gcs_set_status(PR_SHADOW_STACK_ENABLE | PR_SHADOW_STACK_WRITE); in enable_writeable() 114 ksft_print_msg("PR_SHADOW_STACK_ENABLE writeable failed: %d\n", ret); in enable_writeable() 118 ret = gcs_set_status(PR_SHADOW_STACK_ENABLE); in enable_writeable() 132 ret = gcs_set_status(PR_SHADOW_STACK_ENABLE | PR_SHADOW_STACK_PUSH); in enable_push_pop() 134 ksft_print_msg("PR_SHADOW_STACK_ENABLE with push failed: %d\n", in enable_push_pop() 139 ret = gcs_set_status(PR_SHADOW_STACK_ENABLE); in enable_push_pop() [all...] |
H A D | gcs-locking.c | 61 .mode = PR_SHADOW_STACK_ENABLE, in FIXTURE_VARIANT_ADD() 66 .mode = PR_SHADOW_STACK_ENABLE | PR_SHADOW_STACK_WRITE, in FIXTURE_VARIANT_ADD() 71 .mode = PR_SHADOW_STACK_ENABLE | PR_SHADOW_STACK_PUSH, in FIXTURE_VARIANT_ADD() 76 .mode = PR_SHADOW_STACK_ENABLE | PR_SHADOW_STACK_WRITE | in FIXTURE_VARIANT_ADD() 194 if (mode & PR_SHADOW_STACK_ENABLE) { in main()
|
H A D | gcs-util.h | 34 # define PR_SHADOW_STACK_ENABLE (1UL << 0) macro 39 PR_SHADOW_STACK_ENABLE | PR_SHADOW_STACK_WRITE | PR_SHADOW_STACK_PUSH
|
H A D | gcspushm.S | 14 # define PR_SHADOW_STACK_ENABLE (1UL << 0) macro 78 mov x1, PR_SHADOW_STACK_ENABLE | PR_SHADOW_STACK_PUSH
|
H A D | gcsstr.S | 14 # define PR_SHADOW_STACK_ENABLE (1UL << 0) macro 80 mov x1, PR_SHADOW_STACK_ENABLE | PR_SHADOW_STACK_WRITE
|
H A D | libc-gcs.c | 76 if (!(mode & PR_SHADOW_STACK_ENABLE)) { in gcs_test_thread() 240 if (!(child_gcs.features_enabled & PR_SHADOW_STACK_ENABLE)) { in TEST() 242 PR_SHADOW_STACK_ENABLE); in TEST() 716 if (!(gcs_mode & PR_SHADOW_STACK_ENABLE)) { in main() 717 gcs_mode = PR_SHADOW_STACK_ENABLE; in main()
|
H A D | gcs-stress-thread.S | 28 # define PR_SHADOW_STACK_ENABLE (1UL << 0) macro 267 mov x1, PR_SHADOW_STACK_ENABLE
|
/linux/arch/arm64/include/asm/ |
H A D | gcs.h | 55 (PR_SHADOW_STACK_ENABLE | PR_SHADOW_STACK_WRITE | PR_SHADOW_STACK_PUSH) 61 return task->thread.gcs_el0_mode & PR_SHADOW_STACK_ENABLE; in task_gcs_el0_enabled()
|
/linux/tools/testing/selftests/arm64/fp/ |
H A D | assembler.h | 69 # define PR_SHADOW_STACK_ENABLE (1UL << 0) macro 74 mov x1, PR_SHADOW_STACK_ENABLE
|
/linux/tools/testing/selftests/arm64/signal/ |
H A D | test_signals.c | 31 gcs_set_state(PR_SHADOW_STACK_ENABLE); in main()
|
/linux/arch/arm64/mm/ |
H A D | gcs.c | 143 if (task->thread.gcs_el0_mode & PR_SHADOW_STACK_ENABLE) in gcs_set_el0_mode() 191 if (arg & PR_SHADOW_STACK_ENABLE && in arch_set_shadow_stack_status()
|
/linux/tools/include/uapi/linux/ |
H A D | prctl.h | 350 # define PR_SHADOW_STACK_ENABLE (1UL << 0) macro
|
/linux/include/uapi/linux/ |
H A D | prctl.h | 352 # define PR_SHADOW_STACK_ENABLE (1UL << 0) macro
|
/linux/tools/perf/trace/beauty/include/uapi/linux/ |
H A D | prctl.h | 345 # define PR_SHADOW_STACK_ENABLE (1UL << 0) macro
|
/linux/Documentation/arch/arm64/ |
H A D | gcs.rst | 68 * When set PR_SHADOW_STACK_ENABLE flag allocates a Guarded Control Stack
|