Re: [PATCH v8 07/14] kallsyms: Hide layout

From
Ard Biesheuvel <ardb@kernel.org>
Date
2021-12-03 10:03:51
Also in
linux-hardening, linux-kbuild, live-patching, lkml, llvm
Reply to
Peter Zijlstra, 2021-12-03
On Fri, 3 Dec 2021 at 11:01, Peter Zijlstra [off-list ref] wrote:
On Thu, Dec 02, 2021 at 11:32:07PM +0100, Alexander Lobakin wrote:
quoted
From: Kristen Carlson Accardi <redacted>

This patch makes /proc/kallsyms display in a random order, rather
than sorted by address in order to hide the newly randomized address
layout.
Is there a reason to not always do this? That is, why are we keeping two
copies of this code around? Less code is more better etc..
+1.

IIRC I made the exact same point when this patch was sent out by
Kristen a while ago.
Thread (30 messages) 30 messages, 4 authors, last reply 2021-12-07
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help