Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756702AbXH0NcS (ORCPT ); Mon, 27 Aug 2007 09:32:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754250AbXH0NcJ (ORCPT ); Mon, 27 Aug 2007 09:32:09 -0400 Received: from pentafluge.infradead.org ([213.146.154.40]:55859 "EHLO pentafluge.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754239AbXH0NcI (ORCPT ); Mon, 27 Aug 2007 09:32:08 -0400 Date: Mon, 27 Aug 2007 14:31:54 +0100 From: Christoph Hellwig To: Masami Hiramatsu Cc: Andrew Morton , ananth@in.ibm.com, prasanna@in.ibm.com, anil.s.keshavamurthy@intel.com, Jim Keniston , davem@davemloft.net, linux-kernel@vger.kernel.org Subject: Re: [PATCH][kprobes] support kretprobe-blacklist Message-ID: <20070827133154.GA22322@infradead.org> Mail-Followup-To: Christoph Hellwig , Masami Hiramatsu , Andrew Morton , ananth@in.ibm.com, prasanna@in.ibm.com, anil.s.keshavamurthy@intel.com, Jim Keniston , davem@davemloft.net, linux-kernel@vger.kernel.org References: <46C5FA48.2050308@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46C5FA48.2050308@redhat.com> User-Agent: Mutt/1.4.2.3i X-SRS-Rewrite: SMTP reverse-path rewritten from by pentafluge.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 752 Lines: 16 On Fri, Aug 17, 2007 at 03:43:04PM -0400, Masami Hiramatsu wrote: > This patch introduces architecture dependent kretprobe > blacklists to prohibit users from inserting return > probes on the function in which kprobes can be inserted > but kretprobes can not. I don't like this at all. If people want to shoot themselves into their own foot using kernel modules they have an unlimited number of ways to do this, and even more with kprobes, so there's no point in making it a little harder for some cases. - 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/