GNU C Library 2.39 Released With New Tunables, stdbit.h For ISO C2X

Written by Michael Larabel in GNU on 31 January 2024 at 07:55 PM EST. 11 Comments
GNU
In addition to this week's release of GNU Binutils 2.42, ending out January is the release of the GNU C Library 2.39. This C library "libc" update comes with several new features, security fixes, and other enhancements.

From more C2X enablement work to new functions for Linux systems and more, GNU C Library 2.39 is a big update. This Glibc update also fixes various security issues and other bugs. Some of the Glibc 2.39 highlights include:

- A new tunable "glibc.cpu.plt_rewrite" on x86-64 systems to enable PLT rewrite for rewriting indirect branches in PLT with direct branches.

- Syncing against the Shadow Stack interface found in the Linux 6.6+ kernel now that the kernel support is all squared away.

- The functions posix_spawnattr_getcgroup_np and posix_spawnattr_setcgroup_np have been added for Linux to set the cgroup v2 in the new process in a race-free manner.

- The pidfd_spawn and pidfd_swap functions for Linux that are similar to posix_spawn but return a file descriptor rather than process ID. For that, pidfd_getpid is also added for getting a process ID from a process file descriptor.

- The stdbit.h header has been added from ISO C2X.

- Libcrypt has been removed from the GNU C Library. Users should instead use libxcrypt.

- IA-64 Linux configurations are no longer supported with Itanium support having been removed from the Linux kernel.

- Various security fixes including for local privilege escalation issues.

- Many bug fixes.

More details on the GNU C Library 2.39 changes via the release announcement.
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