lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <51642262.10902@windriver.com>
Date:	Tue, 9 Apr 2013 09:14:58 -0500
From:	Jason Wessel <jason.wessel@...driver.com>
To:	<sedat.dilek@...il.com>
CC:	<kgdb-bugreport@...ts.sourceforge.net>,
	LKML <linux-kernel@...r.kernel.org>
Subject: Re: kdb: kgdb: CONFIG_DEBUG_RODATA setting?

On 04/09/2013 08:06 AM, Sedat Dilek wrote:

>  config DEBUG_RODATA
>  	bool "Write protect kernel read-only data structures"
> -	default y
>  	depends on DEBUG_KERNEL
> +	default n if KGDB
> +	default y
>  	---help---
>  	  Mark the kernel read-only data as write-protected in the pagetables,
>  	  in order to catch accidental (and incorrect) writes to such const


This is wrong and should not be merged.

A) You should not change these defaults in this manner

B) You have pointed out that the documentation is currently
   incorrect. The CONFIG_DEBUG_RODATA constraints were removed some time
   ago, per commit 3751d3e85cf693e10e2c47c03c8caa65e171099b (x86,kgdb:
   Fix DEBUG_RODATA limitation using text_poke())

Jason.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ