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

2023-12-10 Thread Mark Brown
On Sat, Dec 09, 2023 at 08:49:02PM -0300, Thiago Jung Bauermann wrote: > Mark Brown writes: > > 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 a

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

2023-12-09 Thread Thiago Jung Bauermann
Mark Brown writes: > 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. The

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

2023-11-22 Thread Mark Brown
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. Signed-off-by: Mark Brown --- arc