Luca Dariz, le sam. 29 juil. 2023 19:47:53 +0200, a ecrit: > @@ -803,10 +809,7 @@ kern_return_t thread_getstatus( > == 0) > saved_state->efl &= ~EFL_IF; > } > - } > - else > -#endif > - { > + } else { > /* > * 386 mode. > */ > @@ -815,6 +818,7 @@ kern_return_t thread_getstatus( > state->fs = saved_state->fs & 0xffff; > state->gs = saved_state->gs & 0xffff; > } > +#endif
Mmm, I believe we shall then drop [gfed]s from i386_thread_state? Otherwise we'll leak content in the structure in thread_getstatus calls. Samuel