Re: [patch V3 61/66] x86/fpu/signal: Sanitize the xstate check on sigframe

From: Thomas Gleixner
Date: Fri Jun 18 2021 - 19:49:36 EST


Andrew,

On Fri, Jun 18 2021 at 22:02, Andrew Cooper wrote:
> On 18/06/2021 15:19, Thomas Gleixner wrote:
>> -static struct _fpx_sw_bytes fx_sw_reserved, fx_sw_reserved_ia32;
>> +static struct _fpx_sw_bytes fx_sw_reserved, fx_sw_reserved_ia32 __ro_after_init;
>
> You probably want a second __ro_after_init here.

Ooops.

Thanks for spotting it!

tglx