Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161041AbaDSRBn (ORCPT ); Sat, 19 Apr 2014 13:01:43 -0400 Received: from mx1.redhat.com ([209.132.183.28]:18851 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161018AbaDSRBm (ORCPT ); Sat, 19 Apr 2014 13:01:42 -0400 Date: Sat, 19 Apr 2014 19:01:04 +0200 From: Oleg Nesterov To: Ingo Molnar , "H. Peter Anvin" Cc: Ananth N Mavinakayanahalli , Anton Arapov , David Long , Denys Vlasenko , "Frank Ch. Eigler" , Jim Keniston , Jonathan Lebon , Masami Hiramatsu , Srikar Dronamraju , linux-kernel@vger.kernel.org Subject: [PATCH 0/5] uprobes/x86: cleanup validate_insn_* paths, fix X86_X32 case Message-ID: <20140419170104.GA30667@redhat.com> References: <20140417200228.GA31097@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140417200228.GA31097@redhat.com> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Peter, feel free to ignore 1-4, but could you look at 5/5? It lacks the test-case because I do not have a x32-ready testing machine. On 04/17, Oleg Nesterov wrote: > > This series only fixes the problem. I'll send more changes to address > some of TODO's mentioned in the changelogs later. In particular, we > need to do something with "callw", see "Note: in 13/15. So, what do you all think we should do with "callw"? Jim votes for declining to probe callw, and I fully agree. Any objection? Until then, lets cleanup the validate_insn_* paths and fix another bug. This cleanup can also simplify the next "reject callw" change. Oleg. arch/x86/kernel/process_64.c | 7 +- arch/x86/kernel/uprobes.c | 126 ++++++++++++++++++------------------------ 2 files changed, 58 insertions(+), 75 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/