Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 8 Apr 2019 17:56:20 +0000
From: Christopher Lameter <>
To: Thomas Garnier <>
cc: Kernel Hardening <>, 
    Kristen Carlson Accardi <>, 
    Andy Lutomirski <>, Thomas Gleixner <>, 
    Ingo Molnar <>, Borislav Petkov <>, 
    "H. Peter Anvin" <>, 
    the arch/x86 maintainers <>, Dennis Zhou <>, 
    Tejun Heo <>, Boris Ostrovsky <>, 
    Juergen Gross <>, 
    Stefano Stabellini <>, 
    Andrew Morton <>, Andi Kleen <>, 
    "Kirill A. Shutemov" <>, 
    Michal Hocko <>, Mike Rapoport <>, 
    Stephen Rothwell <>, 
    Cao jin <>, Brijesh Singh <>, 
    Masahiro Yamada <>, 
    Joerg Roedel <>, Peter Zijlstra <>, 
    Kees Cook <>, 
    Mathieu Desnoyers <>, 
    LKML <>, 
    xen-devel <>
Subject: Re: [PATCH v6 14/27] x86/percpu: Adapt percpu for PIE support

On Mon, 8 Apr 2019, Thomas Garnier wrote:

> > It didn't work originally but I will revisit to see if I missed something.
> I revisited and couldn't find a way to prevent relocations to the
> percpu section. Without PIE, you can reference absolute address which
> was convenient for percpu.

Can you switch PIE off for the percpu section? If not maybe the linker
needs to have an additional option?

Cannot imagine that this is not possible. You neeed to be able to
reference registers that are in fixed memory locations.

> Christopher: Did you have something specific in mind?

I thought that we just leave it as is.

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.