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: <p64p8514-np9q-r4qp-6254-011r62nrr594@vanv.qr>
Date: Fri, 9 Jan 2026 22:34:52 +0100 (CET)
From: Jan Engelhardt <ej@...i.de>
To: Ard Biesheuvel <ardb@...nel.org>
cc: linux-kernel@...r.kernel.org, x86@...nel.org, 
    linux-hardening@...r.kernel.org
Subject: Re: [RFC/RFT PATCH 08/19] x86: Use PIE codegen for the relocatable
 64-bit kernel


On Thursday 2026-01-08 10:25, Ard Biesheuvel wrote:
>
>As an intermediate step towards enabling PIE linking for the x86_64
>KASLR kernel, enable PIE codegen for all C and Rust objects that are
>linked into the kernel proper. Add a Kconfig option RELOCATABLE_PIE for
>this, depending on RELR support in the linker, as the relocation tables
>will blow up the kernel image otherwise.


> KBUILD_CFLAGS += $(call cc-option,-fcf-protection=branch -fno-jump-tables)
>...
>+
>+        pie-ccflags-$(CONFIG_CC_IS_GCC) += $(call cc-option.-mdirect-extern-access)

I think that dot there next to -mdirect-extern-accesss should have been 
a comma.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ