On 2/4/25 02:01, Dmitry Vyukov wrote: >> But this updated PKRU value is also pushed onto the sigframe, which >> means the register value restored from sigcontext will be different from >> the user-defined one, which is unexpected. Fix that by overwriting the >> PKRU value on the sigframe with the original, user-defined PKRU. > > This unfortunatly seems to be broken for rseq user-space writes. Hi Dmitry, Are you saying that Aruna's patch caused a regression in the rseq code? Or that the rseq code has a separate but similar issue to the one that Aruna's patch fixed?