lkml.org 
[lkml]   [2016]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v5 1/4] x86/signal/64: Add a comment about sigcontext->fs and gs
From
Date
17.02.2016 10:21, Ingo Molnar пишет:
>
> * Andy Lutomirski <luto@kernel.org> 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.
But there are the new versions of dosemu that still use
"modify_ldt() or any other cleanly identifiable legacy usage/signature"
and yet wants a new functionality.
Please don't go for such an unreliable heuristic.

> I.e. behaviorally it would still keep the ABI and modern default behavior could
> still be whatever we want to make it.
You can allow glibc to deal with the opt-ins.
It has symbol versioning system AFAIK exactly for that.

\
 
 \ /
  Last update: 2016-02-17 11:21    [W:0.077 / U:0.352 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site