Re: [PATCH v10 17/40] arm64/traps: Handle GCS exceptions

2024-08-19 Thread Catalin Marinas
On Thu, Aug 01, 2024 at 01:06:44PM +0100, Mark Brown wrote: > A new exception code is defined for GCS specific faults other than > standard load/store faults, for example GCS token validation failures, > add handling for this. These faults are reported to userspace as > segfaults with code SEGV_CPE

[PATCH v10 17/40] arm64/traps: Handle GCS exceptions

2024-08-01 Thread Mark Brown
A new exception code is defined for GCS specific faults other than standard load/store faults, for example GCS token validation failures, add handling for this. These faults are reported to userspace as segfaults with code SEGV_CPERR (protection error), mirroring the reporting for x86 shadow stack