lkml.org 
[lkml]   [2005]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [patch 02/02] Debug option to write-protect rodata: the write protect logic and config option
From
Date
On Mon, 2005-11-07 at 10:58 +0000, arjan@infradead.org wrote:
> Hi,
>
> I've been working on a patch that turns the kernel's .rodata section to be
> actually read only, eg any write attempts to it cause a segmentation fault.
>
> This patch introduces the actual debug option to catch any writes to rodata

Why a debug option? From what I can tell, it doesn't impact runtime
performance much and it provides good protection. Any reason not to
make it an always-on feature?

josh

-
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/

\
 
 \ /
  Last update: 2005-11-07 15:09    [W:0.082 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site