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: <20110428104306.GC2431@osiris.boeblingen.de.ibm.com>
Date:	Thu, 28 Apr 2011 12:43:06 +0200
From:	Heiko Carstens <heiko.carstens@...ibm.com>
To:	Jan Beulich <JBeulich@...ell.com>
Cc:	mingo@...e.hu, tglx@...utronix.de, hpa@...or.com,
	linux-arch@...r.kernel.org, linux-kbuild@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] allow placing exception table in .rodata (and do so on
	 x86)

On Wed, Apr 27, 2011 at 04:36:04PM +0100, Jan Beulich wrote:
> This is since the table is really a set of pointers, i.e. misplaced in
> .text.
> 
> Quite likely other architectures would want to follow.
> 
> Signed-off-by: Jan Beulich <jbeulich@...ell.com>
> 

[...]

> --- 2.6.39-rc5/include/asm-generic/vmlinux.lds.h
> +++ 2.6.39-rc5-extable-in-rodata/include/asm-generic/vmlinux.lds.h
> @@ -226,6 +226,7 @@
>  		*(.rodata1)						\
>  	}								\
>  									\
> +	EXCEPTION_TABLE_RO						\

That's odd. The kernel actually writes to it (sort_main_extable()), so
it shouldn't be in the ro data section, but the data section.

>  	JUMP_TABLE							\

same here.
--
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