[PATCH 04/35] arm64/gcs: Document the ABI for Guarded Control Stacks

Jonathan Cameron Jonathan.Cameron at Huawei.com
Mon Jul 17 04:42:47 PDT 2023


On Sun, 16 Jul 2023 22:51:00 +0100
Mark Brown <broonie at kernel.org> wrote:

> Add some documentation of the userspace ABI for Guarded Control Stacks.
> 
> Signed-off-by: Mark Brown <broonie at kernel.org>
Hi Mark,

Nice document.  All I could find on a first read was one typo...

...

> +7.  ptrace extensions
> +---------------------
> +
> +* A new regset NT_ARM_GCS is defined for use with PTRACE_GETREGSET and
> +  PTRACE_SETREGSET.
> +
> +* Due to the complexity surrounding allocation and deallocation of stakcs and

stacks

> +  lack of practical application changes to the GCS configuration via ptrace
> +  are not supported.
> +




More information about the linux-riscv mailing list