Re: [PATCH] aarch64: define struct user_pac_mask if needed

2025-02-23 Thread Mark Wielaard
Hi Markus, On Fri, Feb 21, 2025 at 11:19:34AM -0800, Markus Mayer wrote: > On Aarch64, Linux is using Pointer Authentication Code (PAC) for pointer > authentication.[1] The struct "user_pac_mask" has been part of the Linux > kernel since version 5.0 as part of this feature. However, older kernels

[PATCH] aarch64: define struct user_pac_mask if needed

2025-02-21 Thread Markus Mayer
On Aarch64, Linux is using Pointer Authentication Code (PAC) for pointer authentication.[1] The struct "user_pac_mask" has been part of the Linux kernel since version 5.0 as part of this feature. However, older kernels do not define it. Therefore, we want to check if the definition is present in t