Re: [PATCH v3 02/16] arm64: rename ptrauth key structures to be user-specific
From: Catalin Marinas <catalin.marinas@arm.com>
Date: 2020-01-15 16:42:36
From: Catalin Marinas <catalin.marinas@arm.com>
Date: 2020-01-15 16:42:36
On Mon, Dec 16, 2019 at 02:17:04PM +0530, Amit Daniel Kachhap wrote:
From: Kristina Martsenko <redacted> We currently enable ptrauth for userspace, but do not use it within the kernel. We're going to enable it for the kernel, and will need to manage a separate set of ptrauth keys for the kernel. We currently keep all 5 keys in struct ptrauth_keys. However, as the kernel will only need to use 1 key, it is a bit wasteful to allocate a whole ptrauth_keys struct for every thread. Therefore, a subsequent patch will define a separate struct, with only 1 key, for the kernel. In preparation for that, rename the existing struct (and associated macros and functions) to reflect that they are specific to userspace. Signed-off-by: Kristina Martsenko <redacted> [Amit: Re-positioned the patch to reduce the diff] Signed-off-by: Amit Daniel Kachhap <redacted>
Acked-by: Catalin Marinas <catalin.marinas@arm.com> _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel