[PATCH v3 24/25] linux: Add futex_wait, futex_timedwait, futex_wake, and futex_requeue
Adhemerval Zanella
adhemerval.zanella@linaro.org
Mon Nov 16 19:42:37 GMT 2026
Add a new installed header <sys/futex.h> with thin wrappers around the
safe subset of the futex system call. It provides a blocking building
block for implementing custom synchronization primitives:
int futex_wait (uint32_t *futexp, uint32_t expected, unsigned int flags);
int futex_timedwait (uint32_t *futexp, uint32_t expected, clockid_t clockid,
const struct timespec *abstime, unsigned int flags);
int futex_wake (uint32_t *futexp, int count, unsigned int flags);
int futex_requeue (uint32_t *futexp, uint32_t expected, int nwake,
uint32_t *targetp, int nrequeue, unsigned int flags);
The flags argument may be zero (process-shared) or FUTEX_PRIVATE_FLAG,
the kernel flag defined by <linux/futex.h> and also provided by
<sys/futex.h>, which has the same value as the FUTEX2_PRIVATE flag of
the futex2 interface. The wait functions return 0 on success;
futex_wake and futex_requeue return the number of threads that were
woken or requeued. On failure, all functions return -1 and set errno,
following the usual syscall wrapper convention. The functions are not
cancellation points.
Only the well-defined subset of the kernel interface is exposed.
futex_timedwait takes an absolute timeout with an explicit clockid
(implemented with FUTEX_WAIT_BITSET to avoid the relative-only
CLOCK_MONOTONIC FUTEX_WAIT quirk), and futex_requeue only maps to the
FUTEX_CMP_REQUEUE operation.
The futex_timedwait function supports both 32-bit and 64-bit time_t
values.
The internal __futex_wake_internal, which futex_wake uses, now returns
the result of the system call. The internal callers ignore it, as they
already did for EFAULT and EINVAL, so they no longer abort on ENOSYS,
which only a kernel without futex support returns.
Checked on x86_64-linux-gnu and i686-linux-gnu.
---
NEWS | 6 +
include/sys/futex.h | 27 +++
manual/threads.texi | 141 +++++++++++++
nptl/futex-internal.c | 32 +++
sysdeps/nptl/futex-internal.h | 58 +++---
sysdeps/nptl/lowlevellock-futex.h | 12 ++
sysdeps/unix/sysv/linux/Makefile | 7 +
sysdeps/unix/sysv/linux/Versions | 7 +
sysdeps/unix/sysv/linux/aarch64/libc.abilist | 4 +
sysdeps/unix/sysv/linux/alpha/libc.abilist | 4 +
sysdeps/unix/sysv/linux/arc/libc.abilist | 4 +
sysdeps/unix/sysv/linux/arm/be/libc.abilist | 5 +
sysdeps/unix/sysv/linux/arm/le/libc.abilist | 5 +
sysdeps/unix/sysv/linux/csky/libc.abilist | 5 +
sysdeps/unix/sysv/linux/futex_requeue.c | 35 ++++
sysdeps/unix/sysv/linux/futex_timedwait.c | 55 ++++++
sysdeps/unix/sysv/linux/futex_wait.c | 36 ++++
sysdeps/unix/sysv/linux/futex_wake.c | 38 ++++
sysdeps/unix/sysv/linux/hppa/libc.abilist | 5 +
sysdeps/unix/sysv/linux/i386/libc.abilist | 5 +
.../sysv/linux/loongarch/ilp32/libc.abilist | 4 +
.../sysv/linux/loongarch/lp64/libc.abilist | 4 +
.../sysv/linux/m68k/coldfire/libc.abilist | 5 +
.../unix/sysv/linux/m68k/m680x0/libc.abilist | 5 +
.../sysv/linux/microblaze/be/libc.abilist | 5 +
.../sysv/linux/microblaze/le/libc.abilist | 5 +
.../sysv/linux/mips/mips32/fpu/libc.abilist | 5 +
.../sysv/linux/mips/mips32/nofpu/libc.abilist | 5 +
.../sysv/linux/mips/mips64/n32/libc.abilist | 5 +
.../sysv/linux/mips/mips64/n64/libc.abilist | 4 +
sysdeps/unix/sysv/linux/or1k/libc.abilist | 4 +
.../linux/powerpc/powerpc32/fpu/libc.abilist | 5 +
.../powerpc/powerpc32/nofpu/libc.abilist | 5 +
.../linux/powerpc/powerpc64/be/libc.abilist | 4 +
.../linux/powerpc/powerpc64/le/libc.abilist | 4 +
.../unix/sysv/linux/riscv/rv32/libc.abilist | 4 +
.../unix/sysv/linux/riscv/rv64/libc.abilist | 4 +
sysdeps/unix/sysv/linux/s390/libc.abilist | 4 +
sysdeps/unix/sysv/linux/sh/be/libc.abilist | 5 +
sysdeps/unix/sysv/linux/sh/le/libc.abilist | 5 +
.../sysv/linux/sparc/sparc32/libc.abilist | 5 +
.../sysv/linux/sparc/sparc64/libc.abilist | 4 +
sysdeps/unix/sysv/linux/sys/futex.h | 85 ++++++++
sysdeps/unix/sysv/linux/tst-futex-time64.c | 1 +
sysdeps/unix/sysv/linux/tst-futex.c | 186 ++++++++++++++++++
.../unix/sysv/linux/x86_64/64/libc.abilist | 4 +
.../unix/sysv/linux/x86_64/x32/libc.abilist | 4 +
47 files changed, 848 insertions(+), 23 deletions(-)
create mode 100644 include/sys/futex.h
create mode 100644 sysdeps/unix/sysv/linux/futex_requeue.c
create mode 100644 sysdeps/unix/sysv/linux/futex_timedwait.c
create mode 100644 sysdeps/unix/sysv/linux/futex_wait.c
create mode 100644 sysdeps/unix/sysv/linux/futex_wake.c
create mode 100644 sysdeps/unix/sysv/linux/sys/futex.h
create mode 100644 sysdeps/unix/sysv/linux/tst-futex-time64.c
create mode 100644 sysdeps/unix/sysv/linux/tst-futex.c
diff --git a/NEWS b/NEWS
index 0556121e030..00333c7667a 100644
--- a/NEWS
+++ b/NEWS
@@ -61,6 +61,12 @@ Major new features:
returns the page cache statistics of a range of a file: the number of
cached, dirty, under writeback, and evicted pages.
+* On Linux, the functions futex_wait, futex_timedwait, futex_wake, and
+ futex_requeue have been added, along with the <sys/futex.h> header.
+ They are wrappers around a subset of the futex system call and provide
+ the blocking building block for implementing custom synchronization
+ primitives.
+
Deprecated and removed features, and other changes affecting compatibility:
* The posix_spawn_file_actions_addchdir and posix_spawn_file_actions_addfchdir
diff --git a/include/sys/futex.h b/include/sys/futex.h
new file mode 100644
index 00000000000..602096a738c
--- /dev/null
+++ b/include/sys/futex.h
@@ -0,0 +1,27 @@
+#ifndef _SYS_FUTEX_H
+#include_next <sys/futex.h>
+
+# ifndef _ISOMAC
+
+# include <futex-internal.h>
+# include <struct___timespec64.h>
+
+static __always_inline _Bool
+__futex_check_flags (unsigned int flags)
+{
+ return (flags & ~(unsigned int) FUTEX_PRIVATE_FLAG) == 0;
+}
+
+# if __TIMESIZE == 64
+# define __futex_timedwait_time64 futex_timedwait
+# else
+extern int __futex_timedwait_time64 (uint32_t *futexp, uint32_t expected,
+ clockid_t clockid,
+ const struct __timespec64 *abstime,
+ unsigned int flags)
+ __nonnull ((1));
+libc_hidden_proto (__futex_timedwait_time64)
+# endif
+
+# endif /* !_ISOMAC */
+#endif
diff --git a/manual/threads.texi b/manual/threads.texi
index 38b182bedc8..e98949d8043 100644
--- a/manual/threads.texi
+++ b/manual/threads.texi
@@ -1152,6 +1152,8 @@ the standard.
* Restartable Sequences:: Linux-specific restartable sequences
integration.
* Memory Barriers on Sets of Threads:: Linux-specific membarrier function.
+* Futexes:: Linux-specific fast userspace
+ locking primitives.
@end menu
@node Default Thread Attributes
@@ -1636,6 +1638,145 @@ The kernel does not implement the @code{membarrier} system call.
@end table
@end deftypefun
+@node Futexes
+@subsubsection Futexes
+@cindex futex
+
+This section describes the futex functions, which are wrappers around
+the Linux @code{futex} system call. This functionality is only
+available on Linux.
+
+A futex consists of a 32-bit @dfn{futex word} value in memory, and
+kernel state associated with the address of the futex word. The
+@code{futex} functions allow a thread to block until the futex word
+changes and to wake threads blocked on a futex word. Along with atomic
+operations on the futex (done in userland), they provide the blocking
+building block for arbitrary synchronization primitives such as mutexes,
+condition variables, and event counts.
+
+These functions do not provide a lock or condition variable abstraction on
+their own, and their correct use requires some care. On failure, they
+return @minus{}1 and set @code{errno} (as for calling futex through
+@code{syscall}); they are not a cancellation entrypoint, and they are
+async-signal-safe. If the futex word of a wait is not accessible, the
+process is terminated instead of the wait failing with @code{EFAULT}.
+
+A wait on a futex may return spuriously, reporting a wake-up even though no
+matching wake operation was issued. Callers must re-check the futex word
+after a wait returns and, if necessary, wait again.
+
+Each function has a @var{flags} argument which may be zero or
+@code{FUTEX_PRIVATE_FLAG}. @code{FUTEX_PRIVATE_FLAG} declares that the
+futex word is only used by threads of the calling process, which allows
+the kernel to use faster process-local bookkeeping. Without it, the
+futex word may be accessed by multiple processes through a shared
+memory mapping (@code{MAP_SHARED}). Waiters and wakers of one futex
+word must agree on this flag.
+
+@deftypefun int futex_wait (uint32_t *@var{futexp}, uint32_t @var{expected}, unsigned int @var{flags})
+@standards{Linux, sys/futex.h}
+@safety{@prelim{}@mtsafe{}@assafe{}@acsafe{}}
+If the @var{futexp} word content is equal to the value @var{expected},
+block until the calling thread is woken by @code{futex_wake} (or spuriously).
+The check of the futex word and the blocking are performed atomically with
+respect to concurrent futex operations on @var{futexp}. This guarantees
+that no wake-up which is issued after the check can be missed.
+
+The return value is zero if the thread was woken, or @minus{}1 with
+@code{errno} set to one of the following error codes:
+
+@table @code
+@item EAGAIN
+The futex value did not contain @var{expected} at the time of the call.
+
+@item EINTR
+The wait was interrupted by a signal handler.
+
+@item EINVAL
+@var{futexp} is not aligned to four bytes, or @var{flags} is invalid.
+@end table
+@end deftypefun
+
+@deftypefun int futex_timedwait (uint32_t *@var{futexp}, uint32_t @var{expected}, clockid_t @var{clockid}, const struct timespec *@var{abstime}, unsigned int @var{flags})
+@standards{Linux, sys/futex.h}
+@safety{@prelim{}@mtsafe{}@assafe{}@acsafe{}}
+Like @code{futex_wait}, but block at most until the absolute time @var{abstime},
+measured against the clock @var{clockid}. The @var{clockid} must be either
+@code{CLOCK_REALTIME} or @code{CLOCK_MONOTONIC}. If @var{abstime} is @code{NULL},
+block without a timeout.
+
+In addition to the @code{futex_wait} error codes, the following error
+codes can be set:
+
+@table @code
+@item ETIMEDOUT
+The absolute time @var{abstime} passed before the thread was woken.
+An @var{abstime} that already expired is reported as @code{ETIMEDOUT}.
+
+@item EINVAL
+@var{clockid} is neither @code{CLOCK_REALTIME} nor
+@code{CLOCK_MONOTONIC}, or the @code{tv_nsec} member of @var{abstime} is
+not in the range 0 to 999999999.
+
+@item EOVERFLOW
+@var{abstime} cannot be represented in the time type used by the
+kernel interface.
+@end table
+@end deftypefun
+
+@deftypefun int futex_wake (uint32_t *@var{futexp}, int @var{count}, unsigned int @var{flags})
+@standards{Linux, sys/futex.h}
+@safety{@prelim{}@mtsafe{}@assafe{}@acsafe{}}
+Wake up to @var{count} threads blocked on the @var{futexp} word.
+Using @code{INT_MAX} wakes all threads waiting on the futex.
+
+The return value is the number of threads actually woken, which is
+zero if no thread was blocked, or @minus{}1 with @code{errno} set to one
+of the following error codes:
+
+@table @code
+@item EFAULT
+@var{futexp} is not a valid address.
+
+@item EINVAL
+@var{futexp} is not aligned to four bytes, @var{count} is negative, or
+@var{flags} is not valid.
+@end table
+@end deftypefun
+
+@deftypefun int futex_requeue (uint32_t *@var{futexp}, uint32_t @var{expected}, int @var{nwake}, uint32_t *@var{targetp}, int @var{nrequeue}, unsigned int @var{flags})
+@standards{Linux, sys/futex.h}
+@safety{@prelim{}@mtsafe{}@assafe{}@acsafe{}}
+If the @var{futexp} word still contains the value @var{expected}, wake up to
+@var{nwake} threads blocked on @var{futexp} and transfer up to @var{nrequeue}
+of the remaining blocked threads to the waitqueue of the futex word
+@var{targetp}, without waking them.
+
+Requeueing avoids the ``thundering herd'' effect of waking all threads, only
+for most of them to immediately block on another futex again. For example,
+a condition variable broadcast can wake one thread and requeue the others to
+the futex that implements the associated mutex. The value check makes the
+operation race-free, as with @code{futex_wait}. Both futex words must use
+the same @var{flags}.
+
+The return value is the total number of woken and requeued threads, or
+@minus{}1 with @code{errno} set to one of the following error codes:
+
+@table @code
+@item EAGAIN
+The futex word did not contain the value @var{expected} at the time of
+the call.
+
+@item EFAULT
+@var{futexp} or @var{targetp} do not point to accessible memory.
+
+@item EINVAL
+@var{futexp} or @var{targetp} are not aligned to four bytes,
+@var{nwake} or @var{nrequeue} are negative, or
+@var{flags} is not valid.
+@end table
+@end deftypefun
+
@c FIXME these are undocumented:
@c pthread_atfork
@c pthread_attr_destroy
diff --git a/nptl/futex-internal.c b/nptl/futex-internal.c
index beea65b8c59..1fa82fbbc8e 100644
--- a/nptl/futex-internal.c
+++ b/nptl/futex-internal.c
@@ -141,6 +141,38 @@ __futex_abstimed_wait_cancelable64 (unsigned int* futex_word,
}
libc_hidden_def (__futex_abstimed_wait_cancelable64)
+int
+__futex_abstimed_wait64_errno (unsigned int* futex_word,
+ unsigned int expected, clockid_t clockid,
+ const struct __timespec64* abstime,
+ unsigned int flags)
+{
+ int err = __futex_abstimed_wait_common (futex_word, expected, clockid,
+ abstime,
+ flags ^ FUTEX_PRIVATE_FLAG, false);
+ if (__glibc_likely (err == 0))
+ return 0;
+ __set_errno (err);
+ return -1;
+}
+libc_hidden_def (__futex_abstimed_wait64_errno)
+
+int
+__futex_cmp_requeue_errno (unsigned int *futex_word, unsigned int expected,
+ int nr_wake, unsigned int *target_word,
+ int nr_requeue, unsigned int flags)
+{
+ int r = lll_futex_syscall_ret (6, futex_word, FUTEX_CMP_REQUEUE | flags,
+ nr_wake, nr_requeue, target_word, expected);
+ if (__glibc_unlikely (r < 0))
+ {
+ __set_errno (-r);
+ return -1;
+ }
+ return r;
+}
+libc_hidden_def (__futex_cmp_requeue_errno)
+
int
__futex_lock_pi64 (int *futex_word, clockid_t clockid,
const struct __timespec64 *abstime, int private)
diff --git a/sysdeps/nptl/futex-internal.h b/sysdeps/nptl/futex-internal.h
index ea990283366..b8a9a04e6d7 100644
--- a/sysdeps/nptl/futex-internal.h
+++ b/sysdeps/nptl/futex-internal.h
@@ -177,31 +177,20 @@ __futex_abstimed_supported_clockid (clockid_t clockid)
}
return res;
- Note that we need to support futex_wake calls to past futexes whose memory
+ Returns the number of woken processes, or a negated error code. Note
+ that we need to support futex_wake calls to past futexes whose memory
has potentially been reused due to POSIX' requirements on synchronization
- object destruction (see above); therefore, we must not report or abort
- on most errors. */
-static __always_inline void
-__futex_wake_internal (unsigned int* futex_word, int processes_to_wake, int private)
+ object destruction (see above); therefore -EFAULT (memory reuse) and
+ -EINVAL (either incorrect alignment or memory reused for a PI futex)
+ can occur in correct executions, and internal callers simply ignore
+ the return value. */
+static __always_inline int
+__futex_wake_internal (unsigned int *futex_word, int processes_to_wake,
+ int private)
{
- int res = lll_futex_wake (futex_word, processes_to_wake, private);
- /* No error. Ignore the number of woken processes. */
- if (res >= 0)
- return;
- switch (res)
- {
- case -EFAULT: /* Could have happened due to memory reuse. */
- case -EINVAL: /* Could be either due to incorrect alignment (a bug in
- glibc or in the application) or due to memory being
- reused for a PI futex. We cannot distinguish between the
- two causes, and one of them is correct use, so we do not
- act in this case. */
- return;
- case -ENOSYS: /* Must have been caused by a glibc bug. */
- /* No other errors are documented at this time. */
- default:
- __futex_fatal_error ();
- }
+ return lll_futex_syscall_ret (4, futex_word,
+ __lll_private_flag (FUTEX_WAKE, private),
+ processes_to_wake, 0);
}
/* The operation checks the value of the futex, if the value is 0, then
@@ -291,6 +280,29 @@ __futex_abstimed_wait64 (unsigned int* futex_word, unsigned int expected,
libc_hidden_proto (__futex_abstimed_wait64);
+/* The following wrappers are used to implement the public futex interfaces.
+ Unlike the wrappers above, they do not abort on any error, and the value
+ returned by a successful futex operation is preserved. */
+
+/* Like __futex_abstimed_wait64, but return 0 on success or -1 with errno
+ set on failure. */
+int
+__futex_abstimed_wait64_errno (unsigned int *futex_word,
+ unsigned int expected, clockid_t clockid,
+ const struct __timespec64 *abstime,
+ unsigned int flags);
+libc_hidden_proto (__futex_abstimed_wait64_errno)
+
+/* If *FUTEX_WORD == EXPECTED, wake up to NR_WAKE waiters on FUTEX_WORD and
+ requeue up to NR_REQUEUE of the remaining waiters to TARGET_WORD. Returns
+ the total number of woken and requeued waiters, or -1 with errno set on
+ failure. */
+int
+__futex_cmp_requeue_errno (unsigned int *futex_word, unsigned int expected,
+ int nr_wake, unsigned int *target_word,
+ int nr_requeue, unsigned int flags);
+libc_hidden_proto (__futex_cmp_requeue_errno)
+
static __always_inline int
__futex_clocklock64 (int *futex, clockid_t clockid,
const struct __timespec64 *abstime, int private)
diff --git a/sysdeps/nptl/lowlevellock-futex.h b/sysdeps/nptl/lowlevellock-futex.h
index f5d1162edb4..d40857fc96d 100644
--- a/sysdeps/nptl/lowlevellock-futex.h
+++ b/sysdeps/nptl/lowlevellock-futex.h
@@ -72,6 +72,18 @@
? -INTERNAL_SYSCALL_ERRNO (__ret) : 0); \
})
+/* Like lll_futex_syscall, but preserve the value returned by a
+ successful futex operation (for instance the number of woken or
+ requeued waiters for FUTEX_WAKE and FUTEX_CMP_REQUEUE): the result
+ is either a non-negative success value or a negated errno code. */
+# define lll_futex_syscall_ret(nargs, futexp, op, ...) \
+ ({ \
+ long int __ret = INTERNAL_SYSCALL (lll_futex, nargs, futexp, op, \
+ __VA_ARGS__); \
+ (__glibc_unlikely (INTERNAL_SYSCALL_ERROR_P (__ret)) \
+ ? -INTERNAL_SYSCALL_ERRNO (__ret) : __ret); \
+ })
+
/* For most of these macros, the return value is never really used.
Nevertheless, the protocol is that each one returns a negated errno
code for failure or zero for success. (Note that the corresponding
diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile
index 8295b0e60df..81c4d5294c8 100644
--- a/sysdeps/unix/sysv/linux/Makefile
+++ b/sysdeps/unix/sysv/linux/Makefile
@@ -74,6 +74,10 @@ sysdep_routines += \
eventfd_read \
eventfd_write \
fanotify_mark \
+ futex_requeue \
+ futex_timedwait \
+ futex_wait \
+ futex_wake \
fxstat \
fxstat64 \
fxstatat \
@@ -178,6 +182,7 @@ sysdep_headers += \
sys/fanotify.h \
sys/file_attr.h \
sys/fsuid.h \
+ sys/futex.h \
sys/inotify.h \
sys/ioprio.h \
sys/kd.h \
@@ -214,6 +219,7 @@ tests += \
tst-fchroot \
tst-fdopendir-o_path \
tst-file_attr \
+ tst-futex \
tst-getauxval \
tst-gettid \
tst-gettid-kill \
@@ -298,6 +304,7 @@ tests-time64 += \
tst-adjtimex-time64 \
tst-clock_adjtime-time64 \
tst-epoll-time64 \
+ tst-futex-time64 \
tst-ntp_adjtime-time64 \
tst-ntp_gettime-time64 \
tst-ntp_gettimex-time64 \
diff --git a/sysdeps/unix/sysv/linux/Versions b/sysdeps/unix/sysv/linux/Versions
index f1d699f204a..12492df489a 100644
--- a/sysdeps/unix/sysv/linux/Versions
+++ b/sysdeps/unix/sysv/linux/Versions
@@ -348,6 +348,13 @@ libc {
fchroot;
file_getattr;
file_setattr;
+ futex_requeue;
+%ifdef TIME64_NON_DEFAULT
+ __futex_timedwait_time64;
+%endif
+ futex_timedwait;
+ futex_wait;
+ futex_wake;
getxattrat;
ioprio_get;
ioprio_set;
diff --git a/sysdeps/unix/sysv/linux/aarch64/libc.abilist b/sysdeps/unix/sysv/linux/aarch64/libc.abilist
index f6bb2db6dea..d0ac7bbabaf 100644
--- a/sysdeps/unix/sysv/linux/aarch64/libc.abilist
+++ b/sysdeps/unix/sysv/linux/aarch64/libc.abilist
@@ -2779,6 +2779,10 @@ GLIBC_2.45 cachestat F
GLIBC_2.45 fchroot F
GLIBC_2.45 file_getattr F
GLIBC_2.45 file_setattr F
+GLIBC_2.45 futex_requeue F
+GLIBC_2.45 futex_timedwait F
+GLIBC_2.45 futex_wait F
+GLIBC_2.45 futex_wake F
GLIBC_2.45 getxattrat F
GLIBC_2.45 ioprio_get F
GLIBC_2.45 ioprio_set F
diff --git a/sysdeps/unix/sysv/linux/alpha/libc.abilist b/sysdeps/unix/sysv/linux/alpha/libc.abilist
index c4ac9f87687..1fc4aea4623 100644
--- a/sysdeps/unix/sysv/linux/alpha/libc.abilist
+++ b/sysdeps/unix/sysv/linux/alpha/libc.abilist
@@ -3126,6 +3126,10 @@ GLIBC_2.45 cachestat F
GLIBC_2.45 fchroot F
GLIBC_2.45 file_getattr F
GLIBC_2.45 file_setattr F
+GLIBC_2.45 futex_requeue F
+GLIBC_2.45 futex_timedwait F
+GLIBC_2.45 futex_wait F
+GLIBC_2.45 futex_wake F
GLIBC_2.45 getxattrat F
GLIBC_2.45 ioprio_get F
GLIBC_2.45 ioprio_set F
diff --git a/sysdeps/unix/sysv/linux/arc/libc.abilist b/sysdeps/unix/sysv/linux/arc/libc.abilist
index 26e2030a075..837fc243ccb 100644
--- a/sysdeps/unix/sysv/linux/arc/libc.abilist
+++ b/sysdeps/unix/sysv/linux/arc/libc.abilist
@@ -2540,6 +2540,10 @@ GLIBC_2.45 cachestat F
GLIBC_2.45 fchroot F
GLIBC_2.45 file_getattr F
GLIBC_2.45 file_setattr F
+GLIBC_2.45 futex_requeue F
+GLIBC_2.45 futex_timedwait F
+GLIBC_2.45 futex_wait F
+GLIBC_2.45 futex_wake F
GLIBC_2.45 getxattrat F
GLIBC_2.45 ioprio_get F
GLIBC_2.45 ioprio_set F
diff --git a/sysdeps/unix/sysv/linux/arm/be/libc.abilist b/sysdeps/unix/sysv/linux/arm/be/libc.abilist
index 6fe71045cf2..8d8a6d7e38e 100644
--- a/sysdeps/unix/sysv/linux/arm/be/libc.abilist
+++ b/sysdeps/unix/sysv/linux/arm/be/libc.abilist
@@ -2828,10 +2828,15 @@ GLIBC_2.43 memset_explicit F
GLIBC_2.43 mseal F
GLIBC_2.43 openat2 F
GLIBC_2.43 umaxabs F
+GLIBC_2.45 __futex_timedwait_time64 F
GLIBC_2.45 cachestat F
GLIBC_2.45 fchroot F
GLIBC_2.45 file_getattr F
GLIBC_2.45 file_setattr F
+GLIBC_2.45 futex_requeue F
+GLIBC_2.45 futex_timedwait F
+GLIBC_2.45 futex_wait F
+GLIBC_2.45 futex_wake F
GLIBC_2.45 getxattrat F
GLIBC_2.45 ioprio_get F
GLIBC_2.45 ioprio_set F
diff --git a/sysdeps/unix/sysv/linux/arm/le/libc.abilist b/sysdeps/unix/sysv/linux/arm/le/libc.abilist
index 802ace37133..90a20b3d8a3 100644
--- a/sysdeps/unix/sysv/linux/arm/le/libc.abilist
+++ b/sysdeps/unix/sysv/linux/arm/le/libc.abilist
@@ -2825,10 +2825,15 @@ GLIBC_2.43 memset_explicit F
GLIBC_2.43 mseal F
GLIBC_2.43 openat2 F
GLIBC_2.43 umaxabs F
+GLIBC_2.45 __futex_timedwait_time64 F
GLIBC_2.45 cachestat F
GLIBC_2.45 fchroot F
GLIBC_2.45 file_getattr F
GLIBC_2.45 file_setattr F
+GLIBC_2.45 futex_requeue F
+GLIBC_2.45 futex_timedwait F
+GLIBC_2.45 futex_wait F
+GLIBC_2.45 futex_wake F
GLIBC_2.45 getxattrat F
GLIBC_2.45 ioprio_get F
GLIBC_2.45 ioprio_set F
diff --git a/sysdeps/unix/sysv/linux/csky/libc.abilist b/sysdeps/unix/sysv/linux/csky/libc.abilist
index 65a7844fc4e..453df4eb506 100644
--- a/sysdeps/unix/sysv/linux/csky/libc.abilist
+++ b/sysdeps/unix/sysv/linux/csky/libc.abilist
@@ -2812,10 +2812,15 @@ GLIBC_2.43 memset_explicit F
GLIBC_2.43 mseal F
GLIBC_2.43 openat2 F
GLIBC_2.43 umaxabs F
+GLIBC_2.45 __futex_timedwait_time64 F
GLIBC_2.45 cachestat F
GLIBC_2.45 fchroot F
GLIBC_2.45 file_getattr F
GLIBC_2.45 file_setattr F
+GLIBC_2.45 futex_requeue F
+GLIBC_2.45 futex_timedwait F
+GLIBC_2.45 futex_wait F
+GLIBC_2.45 futex_wake F
GLIBC_2.45 getxattrat F
GLIBC_2.45 ioprio_get F
GLIBC_2.45 ioprio_set F
diff --git a/sysdeps/unix/sysv/linux/futex_requeue.c b/sysdeps/unix/sysv/linux/futex_requeue.c
new file mode 100644
index 00000000000..e0a5d944b15
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/futex_requeue.c
@@ -0,0 +1,35 @@
+/* Requeue threads waiting on a futex. Linux implementation.
+ Copyright (C) 2026 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, see
+ <https://www.gnu.org/licenses/>. */
+
+#include <errno.h>
+#include <sys/futex.h>
+#include <futex-internal.h>
+
+int
+futex_requeue (uint32_t *futexp, uint32_t expected, int nwake,
+ uint32_t *targetp, int nrequeue, unsigned int flags)
+{
+ if (!__futex_check_flags (flags))
+ {
+ __set_errno (EINVAL);
+ return -1;
+ }
+
+ return __futex_cmp_requeue_errno (futexp, expected, nwake, targetp,
+ nrequeue, flags);
+}
diff --git a/sysdeps/unix/sysv/linux/futex_timedwait.c b/sysdeps/unix/sysv/linux/futex_timedwait.c
new file mode 100644
index 00000000000..65bfb842aee
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/futex_timedwait.c
@@ -0,0 +1,55 @@
+/* Wait on a futex with a timeout. Linux implementation.
+ Copyright (C) 2026 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, see
+ <https://www.gnu.org/licenses/>. */
+
+#include <errno.h>
+#include <time.h>
+#include <sys/futex.h>
+#include <futex-internal.h>
+
+int
+__futex_timedwait_time64 (uint32_t *futexp, uint32_t expected,
+ clockid_t clockid,
+ const struct __timespec64 *abstime,
+ unsigned int flags)
+{
+ if (!__futex_check_flags (flags))
+ {
+ __set_errno (EINVAL);
+ return -1;
+ }
+
+ return __futex_abstimed_wait64_errno (futexp, expected, clockid, abstime,
+ flags);
+}
+
+#if __TIMESIZE != 64
+libc_hidden_def (__futex_timedwait_time64)
+
+int
+futex_timedwait (uint32_t *futexp, uint32_t expected, clockid_t clockid,
+ const struct timespec *abstime, unsigned int flags)
+{
+ struct __timespec64 ts64, *pts64 = NULL;
+ if (abstime != NULL)
+ {
+ ts64 = valid_timespec_to_timespec64 (*abstime);
+ pts64 = &ts64;
+ }
+ return __futex_timedwait_time64 (futexp, expected, clockid, pts64, flags);
+}
+#endif
diff --git a/sysdeps/unix/sysv/linux/futex_wait.c b/sysdeps/unix/sysv/linux/futex_wait.c
new file mode 100644
index 00000000000..dbac5ed0d2c
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/futex_wait.c
@@ -0,0 +1,36 @@
+/* Wait on a futex. Linux implementation.
+ Copyright (C) 2026 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, see
+ <https://www.gnu.org/licenses/>. */
+
+#include <errno.h>
+#include <sys/futex.h>
+#include <futex-internal.h>
+
+int
+futex_wait (uint32_t *futexp, uint32_t expected, unsigned int flags)
+{
+ if (!__futex_check_flags (flags))
+ {
+ __set_errno (EINVAL);
+ return -1;
+ }
+
+ /* A null ABSTIME blocks indefinitely, making this equivalent to a
+ plain FUTEX_WAIT. */
+ return __futex_abstimed_wait64_errno (futexp, expected, CLOCK_MONOTONIC,
+ NULL, flags);
+}
diff --git a/sysdeps/unix/sysv/linux/futex_wake.c b/sysdeps/unix/sysv/linux/futex_wake.c
new file mode 100644
index 00000000000..1f1903e5ea7
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/futex_wake.c
@@ -0,0 +1,38 @@
+/* Wake threads waiting on a futex. Linux implementation.
+ Copyright (C) 2026 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, see
+ <https://www.gnu.org/licenses/>. */
+
+#include <errno.h>
+#include <sys/futex.h>
+#include <futex-internal.h>
+
+int
+futex_wake (uint32_t *futexp, int count, unsigned int flags)
+{
+ int r;
+ if (__futex_check_flags (flags))
+ r = __futex_wake_internal (futexp, count, flags ^ FUTEX_PRIVATE_FLAG);
+ else
+ r = -EINVAL;
+
+ if (__glibc_unlikely (r < 0))
+ {
+ __set_errno (-r);
+ return -1;
+ }
+ return r;
+}
diff --git a/sysdeps/unix/sysv/linux/hppa/libc.abilist b/sysdeps/unix/sysv/linux/hppa/libc.abilist
index 3c386896d77..31a04397f7c 100644
--- a/sysdeps/unix/sysv/linux/hppa/libc.abilist
+++ b/sysdeps/unix/sysv/linux/hppa/libc.abilist
@@ -2849,10 +2849,15 @@ GLIBC_2.43 memset_explicit F
GLIBC_2.43 mseal F
GLIBC_2.43 openat2 F
GLIBC_2.43 umaxabs F
+GLIBC_2.45 __futex_timedwait_time64 F
GLIBC_2.45 cachestat F
GLIBC_2.45 fchroot F
GLIBC_2.45 file_getattr F
GLIBC_2.45 file_setattr F
+GLIBC_2.45 futex_requeue F
+GLIBC_2.45 futex_timedwait F
+GLIBC_2.45 futex_wait F
+GLIBC_2.45 futex_wake F
GLIBC_2.45 getxattrat F
GLIBC_2.45 ioprio_get F
GLIBC_2.45 ioprio_set F
diff --git a/sysdeps/unix/sysv/linux/i386/libc.abilist b/sysdeps/unix/sysv/linux/i386/libc.abilist
index 023d56f2546..b912f2dfd76 100644
--- a/sysdeps/unix/sysv/linux/i386/libc.abilist
+++ b/sysdeps/unix/sysv/linux/i386/libc.abilist
@@ -3032,10 +3032,15 @@ GLIBC_2.43 memset_explicit F
GLIBC_2.43 mseal F
GLIBC_2.43 openat2 F
GLIBC_2.43 umaxabs F
+GLIBC_2.45 __futex_timedwait_time64 F
GLIBC_2.45 cachestat F
GLIBC_2.45 fchroot F
GLIBC_2.45 file_getattr F
GLIBC_2.45 file_setattr F
+GLIBC_2.45 futex_requeue F
+GLIBC_2.45 futex_timedwait F
+GLIBC_2.45 futex_wait F
+GLIBC_2.45 futex_wake F
GLIBC_2.45 getxattrat F
GLIBC_2.45 ioprio_get F
GLIBC_2.45 ioprio_set F
diff --git a/sysdeps/unix/sysv/linux/loongarch/ilp32/libc.abilist b/sysdeps/unix/sysv/linux/loongarch/ilp32/libc.abilist
index 961dd2332af..a26153c17d8 100644
--- a/sysdeps/unix/sysv/linux/loongarch/ilp32/libc.abilist
+++ b/sysdeps/unix/sysv/linux/loongarch/ilp32/libc.abilist
@@ -2291,6 +2291,10 @@ GLIBC_2.45 cachestat F
GLIBC_2.45 fchroot F
GLIBC_2.45 file_getattr F
GLIBC_2.45 file_setattr F
+GLIBC_2.45 futex_requeue F
+GLIBC_2.45 futex_timedwait F
+GLIBC_2.45 futex_wait F
+GLIBC_2.45 futex_wake F
GLIBC_2.45 getxattrat F
GLIBC_2.45 ioprio_get F
GLIBC_2.45 ioprio_set F
diff --git a/sysdeps/unix/sysv/linux/loongarch/lp64/libc.abilist b/sysdeps/unix/sysv/linux/loongarch/lp64/libc.abilist
index bf5345e128f..07af6a9ac36 100644
--- a/sysdeps/unix/sysv/linux/loongarch/lp64/libc.abilist
+++ b/sysdeps/unix/sysv/linux/loongarch/lp64/libc.abilist
@@ -2300,6 +2300,10 @@ GLIBC_2.45 cachestat F
GLIBC_2.45 fchroot F
GLIBC_2.45 file_getattr F
GLIBC_2.45 file_setattr F
+GLIBC_2.45 futex_requeue F
+GLIBC_2.45 futex_timedwait F
+GLIBC_2.45 futex_wait F
+GLIBC_2.45 futex_wake F
GLIBC_2.45 getxattrat F
GLIBC_2.45 ioprio_get F
GLIBC_2.45 ioprio_set F
diff --git a/sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist b/sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
index 5798f01a8f2..5c321d98c2a 100644
--- a/sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
+++ b/sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
@@ -2808,10 +2808,15 @@ GLIBC_2.43 memset_explicit F
GLIBC_2.43 mseal F
GLIBC_2.43 openat2 F
GLIBC_2.43 umaxabs F
+GLIBC_2.45 __futex_timedwait_time64 F
GLIBC_2.45 cachestat F
GLIBC_2.45 fchroot F
GLIBC_2.45 file_getattr F
GLIBC_2.45 file_setattr F
+GLIBC_2.45 futex_requeue F
+GLIBC_2.45 futex_timedwait F
+GLIBC_2.45 futex_wait F
+GLIBC_2.45 futex_wake F
GLIBC_2.45 getxattrat F
GLIBC_2.45 ioprio_get F
GLIBC_2.45 ioprio_set F
diff --git a/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist b/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
index f8d8070bde5..86b8b5aa0ee 100644
--- a/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
+++ b/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
@@ -2975,10 +2975,15 @@ GLIBC_2.43 memset_explicit F
GLIBC_2.43 mseal F
GLIBC_2.43 openat2 F
GLIBC_2.43 umaxabs F
+GLIBC_2.45 __futex_timedwait_time64 F
GLIBC_2.45 cachestat F
GLIBC_2.45 fchroot F
GLIBC_2.45 file_getattr F
GLIBC_2.45 file_setattr F
+GLIBC_2.45 futex_requeue F
+GLIBC_2.45 futex_timedwait F
+GLIBC_2.45 futex_wait F
+GLIBC_2.45 futex_wake F
GLIBC_2.45 getxattrat F
GLIBC_2.45 ioprio_get F
GLIBC_2.45 ioprio_set F
diff --git a/sysdeps/unix/sysv/linux/microblaze/be/libc.abilist b/sysdeps/unix/sysv/linux/microblaze/be/libc.abilist
index fc30a78f18f..c22fbfddcb1 100644
--- a/sysdeps/unix/sysv/linux/microblaze/be/libc.abilist
+++ b/sysdeps/unix/sysv/linux/microblaze/be/libc.abilist
@@ -2861,10 +2861,15 @@ GLIBC_2.43 memset_explicit F
GLIBC_2.43 mseal F
GLIBC_2.43 openat2 F
GLIBC_2.43 umaxabs F
+GLIBC_2.45 __futex_timedwait_time64 F
GLIBC_2.45 cachestat F
GLIBC_2.45 fchroot F
GLIBC_2.45 file_getattr F
GLIBC_2.45 file_setattr F
+GLIBC_2.45 futex_requeue F
+GLIBC_2.45 futex_timedwait F
+GLIBC_2.45 futex_wait F
+GLIBC_2.45 futex_wake F
GLIBC_2.45 getxattrat F
GLIBC_2.45 ioprio_get F
GLIBC_2.45 ioprio_set F
diff --git a/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist b/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist
index fe40f063df7..b4414d1f4a4 100644
--- a/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist
+++ b/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist
@@ -2858,10 +2858,15 @@ GLIBC_2.43 memset_explicit F
GLIBC_2.43 mseal F
GLIBC_2.43 openat2 F
GLIBC_2.43 umaxabs F
+GLIBC_2.45 __futex_timedwait_time64 F
GLIBC_2.45 cachestat F
GLIBC_2.45 fchroot F
GLIBC_2.45 file_getattr F
GLIBC_2.45 file_setattr F
+GLIBC_2.45 futex_requeue F
+GLIBC_2.45 futex_timedwait F
+GLIBC_2.45 futex_wait F
+GLIBC_2.45 futex_wake F
GLIBC_2.45 getxattrat F
GLIBC_2.45 ioprio_get F
GLIBC_2.45 ioprio_set F
diff --git a/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
index 791ccb7cba5..de38913c4ae 100644
--- a/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
+++ b/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
@@ -2938,10 +2938,15 @@ GLIBC_2.43 memset_explicit F
GLIBC_2.43 mseal F
GLIBC_2.43 openat2 F
GLIBC_2.43 umaxabs F
+GLIBC_2.45 __futex_timedwait_time64 F
GLIBC_2.45 cachestat F
GLIBC_2.45 fchroot F
GLIBC_2.45 file_getattr F
GLIBC_2.45 file_setattr F
+GLIBC_2.45 futex_requeue F
+GLIBC_2.45 futex_timedwait F
+GLIBC_2.45 futex_wait F
+GLIBC_2.45 futex_wake F
GLIBC_2.45 getxattrat F
GLIBC_2.45 ioprio_get F
GLIBC_2.45 ioprio_set F
diff --git a/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
index a129cd34903..adb496e991b 100644
--- a/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
+++ b/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
@@ -2936,10 +2936,15 @@ GLIBC_2.43 memset_explicit F
GLIBC_2.43 mseal F
GLIBC_2.43 openat2 F
GLIBC_2.43 umaxabs F
+GLIBC_2.45 __futex_timedwait_time64 F
GLIBC_2.45 cachestat F
GLIBC_2.45 fchroot F
GLIBC_2.45 file_getattr F
GLIBC_2.45 file_setattr F
+GLIBC_2.45 futex_requeue F
+GLIBC_2.45 futex_timedwait F
+GLIBC_2.45 futex_wait F
+GLIBC_2.45 futex_wake F
GLIBC_2.45 getxattrat F
GLIBC_2.45 ioprio_get F
GLIBC_2.45 ioprio_set F
diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
index 849335380e3..2975650b1f5 100644
--- a/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
+++ b/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
@@ -2944,10 +2944,15 @@ GLIBC_2.43 memset_explicit F
GLIBC_2.43 mseal F
GLIBC_2.43 openat2 F
GLIBC_2.43 umaxabs F
+GLIBC_2.45 __futex_timedwait_time64 F
GLIBC_2.45 cachestat F
GLIBC_2.45 fchroot F
GLIBC_2.45 file_getattr F
GLIBC_2.45 file_setattr F
+GLIBC_2.45 futex_requeue F
+GLIBC_2.45 futex_timedwait F
+GLIBC_2.45 futex_wait F
+GLIBC_2.45 futex_wake F
GLIBC_2.45 getxattrat F
GLIBC_2.45 ioprio_get F
GLIBC_2.45 ioprio_set F
diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
index 9c94334b8b8..ec32aaa59eb 100644
--- a/sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
+++ b/sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
@@ -2850,6 +2850,10 @@ GLIBC_2.45 cachestat F
GLIBC_2.45 fchroot F
GLIBC_2.45 file_getattr F
GLIBC_2.45 file_setattr F
+GLIBC_2.45 futex_requeue F
+GLIBC_2.45 futex_timedwait F
+GLIBC_2.45 futex_wait F
+GLIBC_2.45 futex_wake F
GLIBC_2.45 getxattrat F
GLIBC_2.45 ioprio_get F
GLIBC_2.45 ioprio_set F
diff --git a/sysdeps/unix/sysv/linux/or1k/libc.abilist b/sysdeps/unix/sysv/linux/or1k/libc.abilist
index 41642a5f0c1..e3957205ed6 100644
--- a/sysdeps/unix/sysv/linux/or1k/libc.abilist
+++ b/sysdeps/unix/sysv/linux/or1k/libc.abilist
@@ -2290,6 +2290,10 @@ GLIBC_2.45 cachestat F
GLIBC_2.45 fchroot F
GLIBC_2.45 file_getattr F
GLIBC_2.45 file_setattr F
+GLIBC_2.45 futex_requeue F
+GLIBC_2.45 futex_timedwait F
+GLIBC_2.45 futex_wait F
+GLIBC_2.45 futex_wake F
GLIBC_2.45 getxattrat F
GLIBC_2.45 ioprio_get F
GLIBC_2.45 ioprio_set F
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
index 3bcc7fab64b..fd527cf3df2 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
@@ -3165,10 +3165,15 @@ GLIBC_2.43 memset_explicit F
GLIBC_2.43 mseal F
GLIBC_2.43 openat2 F
GLIBC_2.43 umaxabs F
+GLIBC_2.45 __futex_timedwait_time64 F
GLIBC_2.45 cachestat F
GLIBC_2.45 fchroot F
GLIBC_2.45 file_getattr F
GLIBC_2.45 file_setattr F
+GLIBC_2.45 futex_requeue F
+GLIBC_2.45 futex_timedwait F
+GLIBC_2.45 futex_wait F
+GLIBC_2.45 futex_wake F
GLIBC_2.45 getxattrat F
GLIBC_2.45 ioprio_get F
GLIBC_2.45 ioprio_set F
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
index 4e94beb0612..c7490475cdc 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
@@ -3210,10 +3210,15 @@ GLIBC_2.43 memset_explicit F
GLIBC_2.43 mseal F
GLIBC_2.43 openat2 F
GLIBC_2.43 umaxabs F
+GLIBC_2.45 __futex_timedwait_time64 F
GLIBC_2.45 cachestat F
GLIBC_2.45 fchroot F
GLIBC_2.45 file_getattr F
GLIBC_2.45 file_setattr F
+GLIBC_2.45 futex_requeue F
+GLIBC_2.45 futex_timedwait F
+GLIBC_2.45 futex_wait F
+GLIBC_2.45 futex_wake F
GLIBC_2.45 getxattrat F
GLIBC_2.45 ioprio_get F
GLIBC_2.45 ioprio_set F
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
index 537ecc3a553..c364ef2ebf6 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
@@ -2923,6 +2923,10 @@ GLIBC_2.45 cachestat F
GLIBC_2.45 fchroot F
GLIBC_2.45 file_getattr F
GLIBC_2.45 file_setattr F
+GLIBC_2.45 futex_requeue F
+GLIBC_2.45 futex_timedwait F
+GLIBC_2.45 futex_wait F
+GLIBC_2.45 futex_wake F
GLIBC_2.45 getxattrat F
GLIBC_2.45 ioprio_get F
GLIBC_2.45 ioprio_set F
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
index da8d6956164..e96ca3d584c 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
@@ -2999,6 +2999,10 @@ GLIBC_2.45 cachestat F
GLIBC_2.45 fchroot F
GLIBC_2.45 file_getattr F
GLIBC_2.45 file_setattr F
+GLIBC_2.45 futex_requeue F
+GLIBC_2.45 futex_timedwait F
+GLIBC_2.45 futex_wait F
+GLIBC_2.45 futex_wake F
GLIBC_2.45 getxattrat F
GLIBC_2.45 ioprio_get F
GLIBC_2.45 ioprio_set F
diff --git a/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist b/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist
index 24ed335847f..41b3e4ae9dd 100644
--- a/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist
+++ b/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist
@@ -2543,6 +2543,10 @@ GLIBC_2.45 cachestat F
GLIBC_2.45 fchroot F
GLIBC_2.45 file_getattr F
GLIBC_2.45 file_setattr F
+GLIBC_2.45 futex_requeue F
+GLIBC_2.45 futex_timedwait F
+GLIBC_2.45 futex_wait F
+GLIBC_2.45 futex_wake F
GLIBC_2.45 getxattrat F
GLIBC_2.45 ioprio_get F
GLIBC_2.45 ioprio_set F
diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist b/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist
index 5f3ee0e7139..84c0163d439 100644
--- a/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist
+++ b/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist
@@ -2743,6 +2743,10 @@ GLIBC_2.45 cachestat F
GLIBC_2.45 fchroot F
GLIBC_2.45 file_getattr F
GLIBC_2.45 file_setattr F
+GLIBC_2.45 futex_requeue F
+GLIBC_2.45 futex_timedwait F
+GLIBC_2.45 futex_wait F
+GLIBC_2.45 futex_wake F
GLIBC_2.45 getxattrat F
GLIBC_2.45 ioprio_get F
GLIBC_2.45 ioprio_set F
diff --git a/sysdeps/unix/sysv/linux/s390/libc.abilist b/sysdeps/unix/sysv/linux/s390/libc.abilist
index 027ae39cbe8..6c4efd2eec4 100644
--- a/sysdeps/unix/sysv/linux/s390/libc.abilist
+++ b/sysdeps/unix/sysv/linux/s390/libc.abilist
@@ -2960,6 +2960,10 @@ GLIBC_2.45 cachestat F
GLIBC_2.45 fchroot F
GLIBC_2.45 file_getattr F
GLIBC_2.45 file_setattr F
+GLIBC_2.45 futex_requeue F
+GLIBC_2.45 futex_timedwait F
+GLIBC_2.45 futex_wait F
+GLIBC_2.45 futex_wake F
GLIBC_2.45 getxattrat F
GLIBC_2.45 ioprio_get F
GLIBC_2.45 ioprio_set F
diff --git a/sysdeps/unix/sysv/linux/sh/be/libc.abilist b/sysdeps/unix/sysv/linux/sh/be/libc.abilist
index fbdfab376e7..5e9db0b34c5 100644
--- a/sysdeps/unix/sysv/linux/sh/be/libc.abilist
+++ b/sysdeps/unix/sysv/linux/sh/be/libc.abilist
@@ -2855,10 +2855,15 @@ GLIBC_2.43 memset_explicit F
GLIBC_2.43 mseal F
GLIBC_2.43 openat2 F
GLIBC_2.43 umaxabs F
+GLIBC_2.45 __futex_timedwait_time64 F
GLIBC_2.45 cachestat F
GLIBC_2.45 fchroot F
GLIBC_2.45 file_getattr F
GLIBC_2.45 file_setattr F
+GLIBC_2.45 futex_requeue F
+GLIBC_2.45 futex_timedwait F
+GLIBC_2.45 futex_wait F
+GLIBC_2.45 futex_wake F
GLIBC_2.45 getxattrat F
GLIBC_2.45 ioprio_get F
GLIBC_2.45 ioprio_set F
diff --git a/sysdeps/unix/sysv/linux/sh/le/libc.abilist b/sysdeps/unix/sysv/linux/sh/le/libc.abilist
index b611a3013c0..54515b0bf50 100644
--- a/sysdeps/unix/sysv/linux/sh/le/libc.abilist
+++ b/sysdeps/unix/sysv/linux/sh/le/libc.abilist
@@ -2852,10 +2852,15 @@ GLIBC_2.43 memset_explicit F
GLIBC_2.43 mseal F
GLIBC_2.43 openat2 F
GLIBC_2.43 umaxabs F
+GLIBC_2.45 __futex_timedwait_time64 F
GLIBC_2.45 cachestat F
GLIBC_2.45 fchroot F
GLIBC_2.45 file_getattr F
GLIBC_2.45 file_setattr F
+GLIBC_2.45 futex_requeue F
+GLIBC_2.45 futex_timedwait F
+GLIBC_2.45 futex_wait F
+GLIBC_2.45 futex_wake F
GLIBC_2.45 getxattrat F
GLIBC_2.45 ioprio_get F
GLIBC_2.45 ioprio_set F
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist b/sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
index cd31adb4cdd..5bbc871786a 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
+++ b/sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
@@ -3186,10 +3186,15 @@ GLIBC_2.43 memset_explicit F
GLIBC_2.43 mseal F
GLIBC_2.43 openat2 F
GLIBC_2.43 umaxabs F
+GLIBC_2.45 __futex_timedwait_time64 F
GLIBC_2.45 cachestat F
GLIBC_2.45 fchroot F
GLIBC_2.45 file_getattr F
GLIBC_2.45 file_setattr F
+GLIBC_2.45 futex_requeue F
+GLIBC_2.45 futex_timedwait F
+GLIBC_2.45 futex_wait F
+GLIBC_2.45 futex_wake F
GLIBC_2.45 getxattrat F
GLIBC_2.45 ioprio_get F
GLIBC_2.45 ioprio_set F
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist b/sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
index 45c553203f8..45e6e14290f 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
+++ b/sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
@@ -2826,6 +2826,10 @@ GLIBC_2.45 cachestat F
GLIBC_2.45 fchroot F
GLIBC_2.45 file_getattr F
GLIBC_2.45 file_setattr F
+GLIBC_2.45 futex_requeue F
+GLIBC_2.45 futex_timedwait F
+GLIBC_2.45 futex_wait F
+GLIBC_2.45 futex_wake F
GLIBC_2.45 getxattrat F
GLIBC_2.45 ioprio_get F
GLIBC_2.45 ioprio_set F
diff --git a/sysdeps/unix/sysv/linux/sys/futex.h b/sysdeps/unix/sysv/linux/sys/futex.h
new file mode 100644
index 00000000000..2830ae05fa4
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/sys/futex.h
@@ -0,0 +1,85 @@
+/* Wrappers for the Linux futex system call.
+ Copyright (C) 2026 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, see
+ <https://www.gnu.org/licenses/>. */
+
+#ifndef _SYS_FUTEX_H
+#define _SYS_FUTEX_H 1
+
+#include <features.h>
+#include <stdint.h>
+#include <bits/types.h>
+#include <bits/types/clockid_t.h>
+#include <bits/types/struct_timespec.h>
+
+#ifndef FUTEX_PRIVATE_FLAG
+# define FUTEX_PRIVATE_FLAG 128
+#endif
+
+__BEGIN_DECLS
+
+/* If *FUTEXP == EXPECTED block until woken by futex_wake (or spuriously).
+ Returns 0 when woken, or -1 and sets errno on failure. */
+extern int futex_wait (uint32_t *__futexp, uint32_t __expected,
+ unsigned int __flags)
+ __THROW __nonnull ((1));
+
+/* Like futex_wait, but do not block past the absolute timeout ABSTIME
+ measured against CLOCKID (which must be CLOCK_REALTIME or
+ CLOCK_MONOTONIC). If ABSTIME is null, block without a timeout. */
+#ifndef __USE_TIME64_REDIRECTS
+extern int futex_timedwait (uint32_t *__futexp, uint32_t __expected,
+ clockid_t __clockid,
+ const struct timespec *__abstime,
+ unsigned int __flags)
+ __THROW __nonnull ((1));
+#else
+# ifdef __REDIRECT_NTH
+extern int __REDIRECT_NTH (futex_timedwait,
+ (uint32_t *__futexp, uint32_t __expected,
+ clockid_t __clockid,
+ const struct timespec *__abstime,
+ unsigned int __flags),
+ __futex_timedwait_time64)
+ __nonnull ((1));
+# else
+# define futex_timedwait __futex_timedwait_time64
+extern int futex_timedwait (uint32_t *__futexp, uint32_t __expected,
+ clockid_t __clockid,
+ const struct timespec *__abstime,
+ unsigned int __flags)
+ __THROW __nonnull ((1));
+# endif
+#endif
+
+/* Wake up to COUNT threads blocked on FUTEXP (INT_MAX to wake all waiters).
+ Returns the number of woken threads (zero if no thread was blocked), or
+ -1 and sets errno on failure. */
+extern int futex_wake (uint32_t *__futexp, int __count, unsigned int __flags)
+ __THROW __nonnull ((1));
+
+/* If *FUTEXP == EXPECTED wake up to NWAKE threads blocked on FUTEXP and
+ requeue up to NREQUEUE of the remaining blocked threads to wait on TARGETP
+ instead. Returns the total number of woken and requeued threads, or -1
+ and sets errno on failure (EAGAIN if *FUTEXP does not match EXPECTED). */
+extern int futex_requeue (uint32_t *__futexp, uint32_t __expected,
+ int __nwake, uint32_t *__targetp, int __nrequeue,
+ unsigned int __flags)
+ __THROW __nonnull ((1, 4));
+
+__END_DECLS
+
+#endif /* sys/futex.h */
diff --git a/sysdeps/unix/sysv/linux/tst-futex-time64.c b/sysdeps/unix/sysv/linux/tst-futex-time64.c
new file mode 100644
index 00000000000..d95628a2735
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/tst-futex-time64.c
@@ -0,0 +1 @@
+#include "tst-futex.c"
diff --git a/sysdeps/unix/sysv/linux/tst-futex.c b/sysdeps/unix/sysv/linux/tst-futex.c
new file mode 100644
index 00000000000..0997a37e27f
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/tst-futex.c
@@ -0,0 +1,186 @@
+/* Test for futex_wait, futex_timedwait, futex_wake, and futex_requeue.
+ Copyright (C) 2026 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, see
+ <https://www.gnu.org/licenses/>. */
+
+#include <errno.h>
+#include <limits.h>
+#include <sched.h>
+#include <stdint.h>
+#include <stdio.h>
+#include <sys/futex.h>
+#include <sys/wait.h>
+#include <unistd.h>
+#include <support/check.h>
+#include <support/support.h>
+#include <support/timespec.h>
+#include <support/xthread.h>
+#include <support/xtime.h>
+#include <support/xunistd.h>
+
+#define BAD_FLAGS (~FUTEX_PRIVATE_FLAG)
+
+static uint32_t ftx1;
+static uint32_t ftx2;
+
+static void *
+waiter_tf (void *closure)
+{
+ while (__atomic_load_n (&ftx1, __ATOMIC_RELAXED) == 0)
+ {
+ int r = futex_wait (&ftx1, 0, FUTEX_PRIVATE_FLAG);
+ TEST_VERIFY_EXIT (r == 0
+ || (r == -1 && (errno == EAGAIN || errno == EINTR)));
+ }
+ return NULL;
+}
+
+static int
+do_test (void)
+{
+ uint32_t word = 5;
+
+ /* Value mismatch does not block. */
+ TEST_COMPARE (futex_wait (&word, 4, FUTEX_PRIVATE_FLAG), -1);
+ TEST_COMPARE (errno, EAGAIN);
+ TEST_COMPARE (futex_wait (&word, 4, 0), -1);
+ TEST_COMPARE (errno, EAGAIN);
+
+ /* Waking with no waiters reports zero woken threads. */
+ TEST_COMPARE (futex_wake (&word, INT_MAX, FUTEX_PRIVATE_FLAG), 0);
+
+ /* Invalid flags. */
+ TEST_COMPARE (futex_wait (&word, 5, BAD_FLAGS), -1);
+ TEST_COMPARE (errno, EINVAL);
+ TEST_COMPARE (futex_wake (&word, 1, BAD_FLAGS), -1);
+ TEST_COMPARE (errno, EINVAL);
+ TEST_COMPARE (futex_requeue (&word, 5, 0, &ftx2, 1, BAD_FLAGS), -1);
+ TEST_COMPARE (errno, EINVAL);
+
+ /* Requeue with a value mismatch fails and moves no waiters. */
+ TEST_COMPARE (futex_requeue (&ftx1, 1, 0, &ftx2, 1, FUTEX_PRIVATE_FLAG),
+ -1);
+ TEST_COMPARE (errno, EAGAIN);
+
+ /* Block a thread on FTX1, requeue it to FTX2, and wake it there. The
+ requeue loop also synchronizes with the waiter actually entering the
+ kernel, it moves no thread (and returns 0) until the waiter is enqueued
+ on FTX1. */
+ {
+ pthread_t thr = xpthread_create (NULL, waiter_tf, NULL);
+
+ int r;
+ while ((r = futex_requeue (&ftx1, 0, 0, &ftx2, 1, FUTEX_PRIVATE_FLAG))
+ == 0)
+ sched_yield ();
+ TEST_COMPARE (r, 1);
+
+ /* Release the waiter loop, then wake the requeued thread on FTX2. The
+ waiter can leave FTX2 without being woken (a wait interrupted by a
+ stop is restarted on FTX1); it then either sees FTX1 set and exits,
+ or waits on FTX1 again, so wake FTX1 as well. */
+ __atomic_store_n (&ftx1, 1, __ATOMIC_RELAXED);
+ int woken = futex_wake (&ftx2, INT_MAX, FUTEX_PRIVATE_FLAG);
+ if (woken == 0)
+ puts ("info: the waiter left FTX2 before being woken");
+ else
+ TEST_COMPARE (woken, 1);
+ futex_wake (&ftx1, INT_MAX, FUTEX_PRIVATE_FLAG);
+
+ xpthread_join (thr);
+ }
+
+ /* The same wait/requeue/wake round-trip with process-shared futexes
+ (FLAGS of zero) across processes, with the futex words in a shared
+ mapping. */
+ {
+ uint32_t *sftx = support_shared_allocate (2 * sizeof (uint32_t));
+
+ pid_t pid = xfork ();
+ if (pid == 0)
+ {
+ while (__atomic_load_n (&sftx[0], __ATOMIC_RELAXED) == 0)
+ {
+ int r = futex_wait (&sftx[0], 0, 0);
+ if (r != 0 && !(r == -1 && (errno == EAGAIN || errno == EINTR)))
+ _exit (2);
+ }
+ _exit (0);
+ }
+
+ /* The requeue loop also synchronizes with the child actually being
+ enqueued on the shared futex. */
+ int r;
+ while ((r = futex_requeue (&sftx[0], 0, 0, &sftx[1], 1, 0)) == 0)
+ sched_yield ();
+ TEST_COMPARE (r, 1);
+
+ __atomic_store_n (&sftx[0], 1, __ATOMIC_RELAXED);
+ TEST_COMPARE (futex_wake (&sftx[1], INT_MAX, 0), 1);
+ /* In case the child was woken spuriously and blocked again. */
+ futex_wake (&sftx[0], INT_MAX, 0);
+
+ int status;
+ xwaitpid (pid, &status, 0);
+ TEST_VERIFY (WIFEXITED (status));
+ TEST_COMPARE (WEXITSTATUS (status), 0);
+
+ support_shared_free (sftx);
+ }
+
+ {
+ uint32_t tword = 0;
+ struct timespec ts = make_timespec (0, 0);
+
+ /* Value mismatch is checked before the timeout. */
+ TEST_COMPARE (futex_timedwait (&word, 4, CLOCK_MONOTONIC, &ts,
+ FUTEX_PRIVATE_FLAG), -1);
+ TEST_COMPARE (errno, EAGAIN);
+
+ /* Invalid flags and clocks. */
+ TEST_COMPARE (futex_timedwait (&tword, 0, CLOCK_MONOTONIC, &ts,
+ BAD_FLAGS), -1);
+ TEST_COMPARE (errno, EINVAL);
+ TEST_COMPARE (futex_timedwait (&tword, 0, CLOCK_PROCESS_CPUTIME_ID, &ts,
+ FUTEX_PRIVATE_FLAG), -1);
+ TEST_COMPARE (errno, EINVAL);
+
+ /* Timeouts in the past, including negative tv_sec. */
+ TEST_COMPARE (futex_timedwait (&tword, 0, CLOCK_MONOTONIC, &ts,
+ FUTEX_PRIVATE_FLAG), -1);
+ TEST_COMPARE (errno, ETIMEDOUT);
+ ts = make_timespec (-1, 0);
+ TEST_COMPARE (futex_timedwait (&tword, 0, CLOCK_REALTIME, &ts,
+ FUTEX_PRIVATE_FLAG), -1);
+ TEST_COMPARE (errno, ETIMEDOUT);
+
+ /* An actual short wait on both supported clocks. */
+ for (int i = 0; i < 2; i++)
+ {
+ clockid_t clockid = i == 0 ? CLOCK_REALTIME : CLOCK_MONOTONIC;
+ struct timespec timeout
+ = timespec_add (xclock_now (clockid), make_timespec (0, 100000000));
+ TEST_COMPARE (futex_timedwait (&tword, 0, clockid, &timeout,
+ FUTEX_PRIVATE_FLAG), -1);
+ TEST_COMPARE (errno, ETIMEDOUT);
+ TEST_TIMESPEC_NOW_OR_AFTER (clockid, timeout);
+ }
+ }
+
+ return 0;
+}
+
+#include <support/test-driver.c>
diff --git a/sysdeps/unix/sysv/linux/x86_64/64/libc.abilist b/sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
index 551e36268a0..02e5f65bd89 100644
--- a/sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
+++ b/sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
@@ -2775,6 +2775,10 @@ GLIBC_2.45 cachestat F
GLIBC_2.45 fchroot F
GLIBC_2.45 file_getattr F
GLIBC_2.45 file_setattr F
+GLIBC_2.45 futex_requeue F
+GLIBC_2.45 futex_timedwait F
+GLIBC_2.45 futex_wait F
+GLIBC_2.45 futex_wake F
GLIBC_2.45 getxattrat F
GLIBC_2.45 ioprio_get F
GLIBC_2.45 ioprio_set F
diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist b/sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist
index b8cba8cf81b..d3a07a9e0d0 100644
--- a/sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist
+++ b/sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist
@@ -2794,6 +2794,10 @@ GLIBC_2.45 cachestat F
GLIBC_2.45 fchroot F
GLIBC_2.45 file_getattr F
GLIBC_2.45 file_setattr F
+GLIBC_2.45 futex_requeue F
+GLIBC_2.45 futex_timedwait F
+GLIBC_2.45 futex_wait F
+GLIBC_2.45 futex_wake F
GLIBC_2.45 getxattrat F
GLIBC_2.45 ioprio_get F
GLIBC_2.45 ioprio_set F
--
2.53.0
More information about the Libc-alpha
mailing list