Re: [PATCH v2 23/28] target/i386: Honor xfeatures in xrstor_sigcontext

2024-04-09 Thread Richard Henderson
On 4/9/24 08:09, Richard Henderson wrote: On 4/8/24 21:44, Paolo Bonzini wrote: +    /* + * Restore the features indicated in the frame, masked by + * those currently enabled.  Re-check the frame size. + * ??? It is not clear where the kernel does this, but it +  

Re: [PATCH v2 23/28] target/i386: Honor xfeatures in xrstor_sigcontext

2024-04-09 Thread Richard Henderson
On 4/8/24 21:44, Paolo Bonzini wrote: +    /* + * Restore the features indicated in the frame, masked by + * those currently enabled.  Re-check the frame size. + * ??? It is not clear where the kernel does this, but it + * is not in check_xstate_in_sigframe,

Re: [PATCH v2 23/28] target/i386: Honor xfeatures in xrstor_sigcontext

2024-04-09 Thread Paolo Bonzini
On 4/9/24 07:02, Richard Henderson wrote: Signed-off-by: Richard Henderson --- linux-user/i386/signal.c | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/linux-user/i386/signal.c b/linux-user/i386/signal.c index d015fe520a..fd09c973d4 100644 ---