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

From: Jonathan Cameron
Date: Mon Jul 17 2023 - 07:43:10 EST


On Sun, 16 Jul 2023 22:51:00 +0100
Mark Brown <broonie@xxxxxxxxxx> wrote:

> Add some documentation of the userspace ABI for Guarded Control Stacks.
>
> Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
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.
> +