Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751345AbVKMEup (ORCPT ); Sat, 12 Nov 2005 23:50:45 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751347AbVKMEup (ORCPT ); Sat, 12 Nov 2005 23:50:45 -0500 Received: from mail.ocs.com.au ([202.147.117.210]:24515 "EHLO mail.ocs.com.au") by vger.kernel.org with ESMTP id S1751345AbVKMEuo (ORCPT ); Sat, 12 Nov 2005 23:50:44 -0500 X-Mailer: exmh version 2.6.3_20040314 03/14/2004 with nmh-1.1 From: Keith Owens To: coywolf@sosdg.org Cc: akpm@osdl.org, Andi Kleen , linux-kernel@vger.kernel.org, Arjan van de Ven , Josh Boyer Subject: Re: [patch] mark text section read-only In-reply-to: Your message of "Sat, 12 Nov 2005 11:34:55 CDT." <20051112163455.GA1425@everest.sosdg.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 13 Nov 2005 15:50:03 +1100 Message-ID: <3066.1131857403@ocs3.ocs.com.au> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 787 Lines: 19 On Sat, 12 Nov 2005 11:34:55 -0500, Coywolf Qi Hunt wrote: >+config DEBUG_ROTEXT >+ bool "Write protect kernel text" >+ depends on DEBUG_KERNEL >+ help >+ Mark the kernel text as write-protected in the pagetables, >+ in order to catch accidental (and incorrect) writes to kernel text >+ area. This option will increase TLB pressure thus impact performance. >+ Note this may conflict with kprobes. If in doubt, say "N". Also conflicts with kdb, kgdb, and any other kernel debugger that uses software breakpoints. - 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/