[PATCH v11 26/39] arm64/ptrace: Expose GCS via ptrace and core files

Catalin Marinas catalin.marinas at arm.com
Fri Aug 23 02:41:55 PDT 2024


On Thu, Aug 22, 2024 at 02:15:29AM +0100, Mark Brown wrote:
> 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 at linaro.org>
> Signed-off-by: Mark Brown <broonie at kernel.org>

Reviewed-by: Catalin Marinas <catalin.marinas at arm.com>



More information about the linux-riscv mailing list