diff options
author | Mark Brown <broonie@kernel.org> | 2024-10-01 23:59:06 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2024-10-04 12:04:41 +0100 |
commit | 7ec3b57cb29f8371bf12a725b6e8f75831a03f27 (patch) | |
tree | 44ffff9e205c8d372cd1c38d81fca334dfde0be3 /rust/helpers/task.c | |
parent | 16f47bb9ac8afe09e7ca14cc53748f779b2a12e0 (diff) |
arm64/ptrace: Expose GCS via ptrace and core files
Provide a new register type NT_ARM_GCS reporting the current GCS mode
and pointer for EL0. Due to the interactions with allocation and
deallocation of Guarded Control Stacks we do not permit any changes to
the GCS mode via ptrace, only GCSPR_EL0 may be changed.
Reviewed-by: Thiago Jung Bauermann <thiago.bauermann@linaro.org>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20241001-arm64-gcs-v13-27-222b78d87eee@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions