lkml.org 
[lkml]   [2010]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[tip:x86/urgent] x86: set_personality_ia32() misses force_personality32
    Commit-ID:  1dfc76ec37a59018d8ed39152695ff27a434415b
    Gitweb: http://git.kernel.org/tip/1dfc76ec37a59018d8ed39152695ff27a434415b
    Author: Oleg Nesterov <oleg@redhat.com>
    AuthorDate: Tue, 16 Feb 2010 15:02:13 +0100
    Committer: H. Peter Anvin <hpa@zytor.com>
    CommitDate: Tue, 16 Feb 2010 09:44:30 -0800

    x86: set_personality_ia32() misses force_personality32

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

    Signed-off-by: Oleg Nesterov <oleg@redhat.com>
    LKML-Reference: <20100216140213.GB16448@redhat.com>
    Signed-off-by: H. Peter Anvin <hpa@zytor.com>
    ---
    arch/x86/kernel/process_64.c | 1 +
    1 files changed, 1 insertions(+), 0 deletions(-)

    diff --git a/arch/x86/kernel/process_64.c b/arch/x86/kernel/process_64.c
    index 41a26a8..126f0b4 100644
    --- a/arch/x86/kernel/process_64.c
    +++ b/arch/x86/kernel/process_64.c
    @@ -527,6 +527,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-02-17 00:31    [W:2.291 / U:0.256 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site