Home
last modified time | relevance | path

Searched refs:gcs (Results 1 – 4 of 4) sorted by relevance

/arch/arm64/mm/
A Dgcs.c173 unsigned long gcs, size; in arch_set_shadow_stack_status() local
201 gcs = alloc_gcs(0, size); in arch_set_shadow_stack_status()
202 if (!gcs) in arch_set_shadow_stack_status()
205 task->thread.gcspr_el0 = gcs + size - sizeof(u64); in arch_set_shadow_stack_status()
206 task->thread.gcs_base = gcs; in arch_set_shadow_stack_status()
A DMakefile14 obj-$(CONFIG_ARM64_GCS) += gcs.o
/arch/arm64/kernel/
A Dprocess.c302 unsigned long gcs; in copy_thread_gcs() local
313 gcs = gcs_alloc_thread_stack(p, args); in copy_thread_gcs()
314 if (IS_ERR_VALUE(gcs)) in copy_thread_gcs()
315 return PTR_ERR((void *)gcs); in copy_thread_gcs()
A Dsignal.c246 struct gcs_context __user *gcs; member
694 if (user->gcs_size != sizeof(*user->gcs)) in restore_gcs_context()
697 __get_user_error(gcspr, &user->gcs->gcspr, err); in restore_gcs_context()
698 __get_user_error(enabled, &user->gcs->features_enabled, err); in restore_gcs_context()
756 user->gcs = NULL; in parse_user_sigframe()
877 if (user->gcs) in parse_user_sigframe()
880 user->gcs = (struct gcs_context __user *)head; in parse_user_sigframe()
1006 if (err == 0 && system_supports_gcs() && user.gcs) in restore_sigframe()

Completed in 12 milliseconds