lkml.org 
[lkml]   [2015]   [Feb]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH 3.2 055/152] x86_64, switch_to(): Load TLS descriptors before switching DS and ES
    On Tue, Feb 24, 2015 at 9:02 PM, Andy Lutomirski <luto@amacapital.net> wrote:
    >> This currently fails in 32-bit kernels (at least in qemu):
    >>
    >> / # ./es_test
    >> Allocated GDT index 7
    >> [FAIL] ES changed from 0x3b to 0x7b
    >> [FAIL] ES was corrupted 1000/1000 times
    >> / # uname -a
    >> Linux (none) 4.0.0-rc1 #1 SMP Tue Feb 24 16:41:58 CET 2015 i686 GNU/Linux
    >
    > Want to send a patch? I'll get it in a few days if no one beats me.

    I have no patch, sorry (in fact, I failed to find where is the relevant
    32-bit counterpart).

    It's just security people asked me to backport this and I wondered
    maybe I should wait a bit on this one, since fix for 32-bit ought
    to appear as well.


    \
     
     \ /
      Last update: 2015-02-24 21:21    [W:6.284 / U:0.032 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site