On Thu, 07 Nov 2024 13:16:40 +0000, Kevin Brodsky wrote:
Commit 6e182dc9f268 ("selftests/mm: Use generic pkey register manipulation") makes use of PKEY_UNRESTRICTED in pkey_sighandler_tests. The macro has been proposed for addition to uapi headers [1], but the patch hasn't landed yet.
Define PKEY_UNRESTRICTED in pkey-helpers.h for the time being to fix the build.
[...]
Applied to arm64 (for-next/pkey-signal), thanks!
I also added a FIXME comment to remove this macro once the generic definition lands upstream.
[1/1] selftests/mm: Define PKEY_UNRESTRICTED for pkey_sighandler_tests https://git.kernel.org/arm64/c/db64dfffcad2