Fedora 40's Linker Will Now Error Out On Security Issues

Written by Michael Larabel in Fedora on 15 December 2023 at 05:56 AM EST. 5 Comments
FEDORA
In addition to Fedora 40 applying systemd hardening settings to bolster system security, another security enhancement now approved by the Fedora Engineering and Steering Committee (FESCo) is on having the linker error out on encountering possible security issues.

The change is so that Fedora's default linker, ld.bfd, will generate an error if it's supposed to create an executable binary that contains one or more security issues. This linker security handling is currently set to check for an executable stack, a loadable segment with read/write/execute permissions, and a thread local storage segment with execute permissions.

Fedora Linux


By having the linker error out on security issues it will become more apparent for developers / those building the code that there are security implications rather than passing it off as an often-ignored warning.

More details on this policy change via the Fedora Wiki. Yesterday FESCo went ahead and approved this change for the Fedora 40 release.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week