lkml.org 
[lkml]   [2010]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[040/116] x86: set_personality_ia32() misses force_personality32
    2.6.32-stable review patch.  If anyone has any objections, please let us know.

    ------------------

    From: Oleg Nesterov <oleg@redhat.com>

    commit 1252f238db48ec419f40c1bdf30fda649860eed9 upstream.

    05d43ed8a "x86: get rid of the insane TIF_ABI_PENDING bit" forgot about
    force_personality32. Fix.

    Signed-off-by: Oleg Nesterov <oleg@redhat.com>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

    ---
    arch/x86/kernel/process_64.c | 1 +
    1 file changed, 1 insertion(+)

    --- a/arch/x86/kernel/process_64.c
    +++ b/arch/x86/kernel/process_64.c
    @@ -546,6 +546,7 @@ void set_personality_ia32(void)

    /* Make sure to be in 32bit mode */
    set_thread_flag(TIF_IA32);
    + current->personality |= force_personality32;

    /* Prepare the first "return" to user space */
    current_thread_info()->status |= TS_COMPAT;



    \
     
     \ /
      Last update: 2010-03-31 02:15    [W:7.667 / U:0.208 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site