[PATCH v3 0/2] x86/pkeys: Set XSTATE_BV[PKRU] when updating
From: Aruna Ramakrishna
Date: Tue Nov 19 2024 - 13:30:28 EST
v3:
- rebased to 6.12.0
- no functional changes from v2
v1 -> v2 updates:
- corrected commit description of both patches to reference xstate_bv
where appropriate
- renamed local variable in update_pkru_in_sigframe()
(no functional changes from v1)
Aruna Ramakrishna (2):
x86/pkeys: Change caller of update_pkru_in_sigframe()
x86/pkeys: Set XSTATE_BV[PKRU] to 1 so that PKRU is XRSTOR'd correctly
arch/x86/kernel/fpu/signal.c | 20 ++------------------
arch/x86/kernel/fpu/xstate.h | 27 ++++++++++++++++++++++++++-
2 files changed, 28 insertions(+), 19 deletions(-)
--
2.43.5