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] [day] [month] [year] [list]
Date:	Tue, 18 Feb 2014 19:50:08 +0100
From:	Andi Kleen <andi@...stfloor.org>
To:	"H. Peter Anvin" <hpa@...or.com>
Cc:	Andi Kleen <andi@...stfloor.org>, linux-kernel@...r.kernel.org,
	sam@...nborg.org, x86@...nel.org, linux-kbuild@...r.kernel.org,
	Andi Kleen <ak@...ux.intel.com>
Subject: Re: [PATCH 1/6] kbuild: Remove relocations from kallsyms table

On Tue, Feb 18, 2014 at 06:28:54AM -0800, H. Peter Anvin wrote:
> On 02/18/2014 06:24 AM, Andi Kleen wrote:
> > From: Andi Kleen <ak@...ux.intel.com>
> > 
> > Remove the ELF relocations from the kallsyms_address[] table.
> > Instead we just store offsets to _text and relocate that while
> > accessing the kallsyms table. This is done with a new
> > kallsyms_offsets[] table. With these changes .tmp_kallsyms*.o
> > becomes relocation free.
> > 
> > In theory this would also allow to shrink the kallsyms table
> > on 64bit by using offsets.
> > 
> 
> Why not do that, then?

I tried it once, but it didn't boot for some reason. Didn't have
time to track it down so I removed it. Could be done as followon
work.

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