lkml.org 
[lkml]   [2014]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 4/7] uprobes/x86: Kill the "ia32_compat" check in handle_riprel_insn(), remove "mm" arg
    * Oleg Nesterov <oleg@redhat.com> [2014-03-31 21:44:05]:

    > Kill the "mm->context.ia32_compat" check in handle_riprel_insn(), if
    > it is true insn_rip_relative() must return false. validate_insn_bits()
    > passed "ia32_compat" as !x86_64 to insn_init(), and insn_rip_relative()
    > checks insn->x86_64.
    >
    > Also, remove the no longer needed "struct mm_struct *mm" argument and
    > the unnecessary "return" at the end.
    >
    > Signed-off-by: Oleg Nesterov <oleg@redhat.com>

    Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
    --
    Thanks and Regards
    Srikar Dronamraju



    \
     
     \ /
      Last update: 2014-04-05 23:22    [W:4.134 / U:0.280 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site