glibc
The GNU C library.
www.gnu.org
Recent Activity
- elf: Support vDSO with more than one PT_LOAD with v_addr starting at 0 (BZ 32583)
Adhemerval Zanella: The setup_vdso assumes that vDSO will contain only one PT_LOAD segment and that 0 is the sentinel for the start mapping address. - nptl: Make pthread_{clock, timed}join{_np} act on all cancellation (BZ 33717)
Adhemerval Zanella: The pthread_join/pthread_timedjoin_np/pthread_clockjoin_np will not act on cancellation if 1. - nptl: Do not use pthread set_tid_address as state synchronization (BZ #19951)
Adhemerval Zanella: The use-after-free described in BZ#19951 is due to the use of two different PD fields, 'joinid' and 'cancelhandling', to describe the thread state and to synchronise the calls of pthread_join, pthread_detach, pthread_exit, and normal thread exit.
Any state change may require checking both fields atomically to handle partial state (e.g., pthread_join() with a cancellation handler to issue a 'joinstate' field rollback).
This patch uses a different PD member with 4 possible states (JOINABLE, DETACHED, EXITING, and EXITED) instead of the pthread 'tid' field, with the following logic:
1. - nptl: Optimize trylock for high cache contention workloads (BZ #33704)
Sunil K Pandey: Check lock availability before acquisition to reduce cache line bouncing. - math: Fix potential underflow on ldbl-128 erfl
Adhemerval Zanella: The multiplication operation is required only if the branch is taken, and the compiler might not optimize it away. - Deprecate s390-linux-gnu (31bit)
Stefan Liebler: The next linux 6.19 release will remove support for compat syscalls on s390x with those commits: - malloc: Enable 2MB THP by default on Aarch64
Dev Jain: Add missing files from previous commit. - x32: Implement prctl in assembly
H.J. Lu: Since the variadic prctl function takes at most 5 integer arguments which are passed in the same integer registers on x32 as the function with 5 integer arguments, we can use assembly for prctl. - libio: null terminate the buffer upon initial allocation in getdelim
Collin Funk: Commit 33eff78c8b28adc4963987880e10d96761f2a167 caused issues in nbdkit which had code similar to this to get the last line of the file:
while (getline (&line, &len, fp) != -1) ; /* Process LINE. - aarch64: Implement AdvSIMD and SVE rsqrt(f) routines
James Chesterman: Vector variants of the new C23 rsqrt routines for both AdvSIMD and SVE, as well as in both single and double precision.
Most Popular In The Past Month
- libio: null terminate the buffer upon initial allocation in getdelim
Collin Funk: Commit 33eff78c8b28adc4963987880e10d96761f2a167 caused issues in nbdkit which had code similar to this to get the last line of the file:
while (getline (&line, &len, fp) != -1) ; /* Process LINE. - x32: Implement prctl in assembly
H.J. Lu: Since the variadic prctl function takes at most 5 integer arguments which are passed in the same integer registers on x32 as the function with 5 integer arguments, we can use assembly for prctl. - malloc: Enable 2MB THP by default on Aarch64
Dev Jain: Add missing files from previous commit. - nptl: Make pthread_{clock, timed}join{_np} act on all cancellation (BZ 33717)
Adhemerval Zanella: The pthread_join/pthread_timedjoin_np/pthread_clockjoin_np will not act on cancellation if 1. - elf: Support vDSO with more than one PT_LOAD with v_addr starting at 0 (BZ 32583)
Adhemerval Zanella: The setup_vdso assumes that vDSO will contain only one PT_LOAD segment and that 0 is the sentinel for the start mapping address. - math: Fix potential underflow on ldbl-128 erfl
Adhemerval Zanella: The multiplication operation is required only if the branch is taken, and the compiler might not optimize it away. - Deprecate s390-linux-gnu (31bit)
Stefan Liebler: The next linux 6.19 release will remove support for compat syscalls on s390x with those commits: - nptl: Optimize trylock for high cache contention workloads (BZ #33704)
Sunil K Pandey: Check lock availability before acquisition to reduce cache line bouncing. - nptl: Do not use pthread set_tid_address as state synchronization (BZ #19951)
Adhemerval Zanella: The use-after-free described in BZ#19951 is due to the use of two different PD fields, 'joinid' and 'cancelhandling', to describe the thread state and to synchronise the calls of pthread_join, pthread_detach, pthread_exit, and normal thread exit.
Any state change may require checking both fields atomically to handle partial state (e.g., pthread_join() with a cancellation handler to issue a 'joinstate' field rollback).
This patch uses a different PD member with 4 possible states (JOINABLE, DETACHED, EXITING, and EXITED) instead of the pthread 'tid' field, with the following logic:
1.