Messages in this thread | | | Date | Thu, 3 Apr 2014 22:03:40 +0530 | From | Srikar Dronamraju <> | Subject | Re: [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
| |