After six months of development Published Release of the system library GNU C Library (Glibc) 2.34 , which fully follows the requirements of ISO C11 and POSIX.1-2017 standards. The new issue includes fixes from 66 developers.
from the Glibc 2.34 improvements can be noted :
- In the main lineup of LIBC, libpthread, libdl, libutil and libanl libraries are integrated, the use of the functionality of which in the applications from now on does not require binding using flags -lpthread, -LDL, -LUTIL and -LANL. Prepare for LibResolv integration in LIBC. Integration will make it possible to achieve a more complete GLIBC update process and simplify the implementation of Runtime. To ensure reverse compatibility with applications collected with the old GLIBC versions, the plug library are provided. Due to the expansion of the number provided in the GLIBC structures and functions, the appearance of problems in applications in which there is an intersection of names with previously used library libpthread, libdl, libutil, libpressolv and libanl.
- is given the possibility of using a 64-bit type Time_t in configurations in which a 32-bit Time_t type has traditionally been used. In such configurations, for example, on x86 systems, the default is 32-bit Time_T, but this behavior can now be changed using the “_time_bits” macro. The ability to be available only on systems with the Linux kernel at least version 5.1.
-
- For the Linux platform, the ExecVeat feature is implemented, which allows you to start the executable file from the open file descriptor. The new feature is also used in the implementation of the FEXECVE call that does not require the presence of an attached pseudo-fs / proc.
- Added function Timespec_getres, defined in the ISO C2X standard draft and complementing the function Timespec_get capabilities similar to the POSIX function clock_getres.
- Added function close_range (), allowing the process to close a whole range of open file descriptors. The function is available on systems with the Linux kernel, at least 5.9.
- Added functions Closefrom and Posix_SPAWN_FILE_AACTIONS_ADDCLOSEFROM_NP, allowing you to close all file descriptors, whose number is greater than or equal to the specified value.
/Media reports.