On Thu, Aug 13, 2015 at 10:13 AM, Stas Sergeev <stsp@xxxxxxx> wrote:The problem is that dosemu existed back then too.
Ah, I see your point now.The fs/gs patch doesn't change anything, so there's nothing to
But that's not what I mean, as it doesn't cover fs/gs, which
is what Linus is looking to revert now too (I am building the
testing kernels now).
So you obviously don't want the flag that will control all 3
things together without any lar heuristics, but I don't understand why...
Yes, your heuristic+uc_flag may work, but IMHO far from
perfection and TLS problem is not covered. I can test such
a patch but I don't understand why you don't want the flag
that will just control all things together.
control. It just renamed fields that did nothing. (It turns out they
did something back before arch_prctl existed, but there's only a
narrow range of kernels like that, and I'm not at all convinced that
those kernels are ABI-compatible with modern kernels at all. This is
Sure, it might make sense to change TLS behavior in signals at someMy point is not when to fix TLS or how.
point, but I don't think we're there yet. We need to deal with
fsgsbase first, and that's a *huge* can of worms.