Re: [RFC PATCH 08/11] x86: Add support for finer grained KASLR

From: Kristen Carlson Accardi
Date: Thu Feb 06 2020 - 12:43:23 EST


On Thu, 2020-02-06 at 18:35 +0100, Peter Zijlstra wrote:
> On Thu, Feb 06, 2020 at 09:25:01AM -0800, Kristen Carlson Accardi
> wrote:
>
> > That's right - all of these tables that you mention had relocs and
> > thus
> > I did not have to do anything special for them. The orc_unwind_ip
> > tables get sorted during unwind_init().
>
> No they're not:
>
> f14bf6a350df ("x86/unwind/orc: Remove boot-time ORC unwind tables
> sorting")
>
> Or rather, it might be you're working on an old tree.

Doh! Ok, I can make a patch to add it back based on CONFIG_FG_KASLR, or
just do yet another resort at boot time.