(subset) [PATCH v3 0/5] Improve arm64 pkeys handling in signal delivery

Catalin Marinas catalin.marinas at arm.com
Mon Nov 4 09:12:42 PST 2024


On Tue, 29 Oct 2024 14:45:34 +0000, Kevin Brodsky wrote:
> This series is a follow-up to Joey's Permission Overlay Extension (POE)
> series [1] that recently landed on mainline. The goal is to improve the
> way we handle the register that governs which pkeys/POIndex are
> accessible (POR_EL0) during signal delivery. As things stand, we may
> unexpectedly fail to write the signal frame on the stack because POR_EL0
> is not reset before the uaccess operations. See patch 1 for more details
> and the main changes this series brings.
> 
> [...]

Applied to arm64 (for-next/pkey-signal), thanks!

I took the kselftest patches through the arm64 tree as well (patch 4
acked by Dave Hansen from an x86 angle). Patch 1 has already been merged
as a fix (this branch is based on top of the arm64 for-next/fixes one
which contains patch 1).

[2/5] arm64: signal: Remove unnecessary check when saving POE state
      https://git.kernel.org/arm64/c/466ece4c6e19
[3/5] arm64: signal: Remove unused macro
      https://git.kernel.org/arm64/c/8edbbfcc1ed3
[4/5] selftests/mm: Use generic pkey register manipulation
      https://git.kernel.org/arm64/c/6e182dc9f268
[5/5] selftests/mm: Enable pkey_sighandler_tests on arm64
      https://git.kernel.org/arm64/c/49f59573e9e0

-- 
Catalin




More information about the linux-arm-kernel mailing list