From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932191Ab0EKUp2 (ORCPT ); Tue, 11 May 2010 16:45:28 -0400 Received: from bombadil.infradead.org ([18.85.46.34]:59374 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752074Ab0EKUp1 (ORCPT ); Tue, 11 May 2010 16:45:27 -0400 Subject: Re: [PATCH v2 7/11] Uprobes Implementation From: Peter Zijlstra To: Oleg Nesterov Cc: Srikar Dronamraju , Ingo Molnar , Andrew Morton , Linus Torvalds , Masami Hiramatsu , Randy Dunlap , Ananth N Mavinakayanahalli , Jim Keniston , Frederic Weisbecker , "Frank Ch. Eigler" , LKML , Roland McGrath , Mel Gorman , "Paul E. McKenney" , Andrea Arcangeli , Hugh Dickins , Rik van Riel In-Reply-To: <20100422154059.GA5916@redhat.com> References: <20100331155106.4181.50759.sendpatchset@localhost6.localdomain6> <20100331155228.4181.61294.sendpatchset@localhost6.localdomain6> <20100413183537.GA17538@redhat.com> <20100415093506.GA2064@linux.vnet.ibm.com> <20100419193139.GA24080@redhat.com> <20100420124358.GA20675@linux.vnet.ibm.com> <20100420153023.GA9351@redhat.com> <20100421065948.GA5440@linux.vnet.ibm.com> <20100421160515.GA11321@redhat.com> <20100422133154.GA10776@linux.vnet.ibm.com> <20100422154059.GA5916@redhat.com> Content-Type: text/plain; charset="UTF-8" Date: Tue, 11 May 2010 22:45:23 +0200 Message-ID: <1273610723.1810.105.camel@laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2010-04-22 at 17:40 +0200, Oleg Nesterov wrote: > > Either way, I think register_uprobe() should disallow the probes in > VM_SHARED/VM_MAYWRITE vmas. VM_SHARED, fully agreed, MAYWRITE not so sure, MAP_PRIVATE has MAYWRITE iirc and its perfectly fine to poke at those.