Re: [PATCH v5 1/4] x86/signal/64: Add a comment about sigcontext->fs and gs
From: Ingo Molnar
Date: Wed Feb 17 2016 - 02:21:43 EST
* Andy Lutomirski <luto@xxxxxxxxxx> wrote:
> + * If the kernel ever adds explicit fs, gs, fsbase, and gsbase
> + * save/restore, it will most likely need to be opt-in and use
> + * different context slots.
Btw., that's not necessarily true: it could also be made opt-out, and a
modify_ldt() or any other cleanly identifiable legacy usage/signature that is
associated with DOSEMU might trigger the opt-out automatically as well.
I.e. behaviorally it would still keep the ABI and modern default behavior could
still be whatever we want to make it.
Thanks,
Ingo