Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1336106

Re: [PATCH v5 1/4] x86/signal/64: Add a comment about sigcontext->fs and gs

From Ingo Molnar <mingo@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH v5 1/4] x86/signal/64: Add a comment about sigcontext->fs and gs
Date 2016-02-17 08:30 +0100
Message-ID <r34IG-35g-3@gated-at.bofh.it> (permalink)
References <r2WUN-6a6-3@gated-at.bofh.it> <r2X4t-6dy-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


* 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.

I.e. behaviorally it would still keep the ABI and modern default behavior could 
still be whatever we want to make it.

Thanks,

	Ingo

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v5 0/4] x86: sigcontext fixes, again Andy Lutomirski <luto@kernel.org> - 2016-02-17 00:10 +0100
  [PATCH v5 3/4] x86/signal/64: Re-add support for SS in the 64-bit signal context Andy Lutomirski <luto@kernel.org> - 2016-02-17 00:10 +0100
    [tip:x86/asm] x86/signal/64:   Re-add support for SS in the 64-bit signal context tip-bot for Andy Lutomirski <tipbot@zytor.com> - 2016-02-17 13:20 +0100
  [PATCH v5 1/4] x86/signal/64: Add a comment about sigcontext->fs and gs Andy Lutomirski <luto@kernel.org> - 2016-02-17 00:20 +0100
    Re: [PATCH v5 1/4] x86/signal/64: Add a comment about sigcontext->fs  and gs Ingo Molnar <mingo@kernel.org> - 2016-02-17 08:30 +0100
      Re: [PATCH v5 1/4] x86/signal/64: Add a comment about sigcontext->fs  and gs Stas Sergeev <stsp@list.ru> - 2016-02-17 11:10 +0100
        Re: [PATCH v5 1/4] x86/signal/64: Add a comment about sigcontext->fs  and gs Ingo Molnar <mingo@kernel.org> - 2016-02-17 12:10 +0100
    [tip:x86/asm] x86/signal/64: Add a comment about sigcontext->  fs and gs tip-bot for Andy Lutomirski <tipbot@zytor.com> - 2016-02-17 13:20 +0100

csiph-web