https://bugs.winehq.org/show_bug.cgi?id=47970
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Staged patchset| |https://github.com/wine-sta | |ging/wine-staging/tree/mast | |er/patches/ntdll-x86_64_Seg | |Ds Status|UNCONFIRMED |STAGED Ever confirmed|0 |1
--- Comment #8 from Zebediah Figura z.figura12@gmail.com --- Surprisingly it turns out that Windows itself lies about SegDs, i.e. it returns a fixed value for it in NtGetContextThread()/RtlCaptureContext() regardless of its actual value, so I ended up writing a patch mostly like the one you attached here. That doesn't mean that we necessarily want it like this upstream—lying about the thread context is not great even if Windows does it too—but I'm satisfied to put it in Staging, at least until it breaks something (and boy does it make me nervous...)