[PATCH 00/15] Sync Linux definitions up to Linux 7.1
Adhemerval Zanella
adhemerval.zanella@linaro.org
Thu Jul 2 18:38:31 GMT 2026
This patchset updates the Linux-specific glibc headers, syscall lists, and
constant tests to match the definitions introduced up to Linux 7.1 (the
latest released kernel), covering the 6.18, 6.19, 7.0, and 7.1 merge
windows.
This series also fixes netinet/tcp.h: the struct tcp_info tail synced by
commit 7e46c2aae47 was mis-encoded as two uint16_t fields, dropping
tcpi_ecn_mode and tcpi_options2; it is restored to the kernel bitfield
layout (size unchanged) and the TCPI_ECN_MODE_/TCP_ACCECN_ value
constants are added.
Kernel-internal or clone3-only definitions that glibc does not export
(PIDFD_AUTOKILL, the high CLONE_/UNSHARE_EMPTY_MNTNS flags, STATMOUNT_BY_FD,
the PR_CFI_/PR_RSEQ_SLICE_* prctls) are intentionally left out.
Adhemerval Zanella (15):
Add FD_NSFS_ROOT from Linux 6.18 to bits/fcntl-linux.h
Add F_GETDELEG and F_SETDELEG from Linux 6.19 to bits/fcntl-linux.h
Add RWF_NOSIGNAL from Linux 6.18 to bits/uio-ext.h
Add HWCAP3_LSFE from Linux 6.18 to AArch64 bits/hwcap.h
Add HWCAP3_LS64 from Linux 7.0 to AArch64 bits/hwcap.h
Add HWCAP_LOONGARCH_SCQ from Linux 7.0 to LoongArch bits/hwcap.h
Add HWCAP_LOONGARCH_LAM_BH from Linux 7.1 to LoongArch bits/hwcap.h
Update PIDFD_* constants for Linux 7.1
Add SCHED_GETATTR_FLAG_DL_DYNAMIC from Linux 7.1 to bits/sched.h
Add OPEN_TREE_NAMESPACE from Linux 7.0 to sys/mount.h
Add FSMOUNT_NAMESPACE from Linux 7.1 to sys/mount.h
Update kernel version to 7.1 in header constant tests
Update syscall lists for Linux 7.1
Add NT_RISCV_USER_CFI from Linux 7.0 to elf.h
netinet/tcp.h: Sync struct tcp_info tail with Linux 7.0
elf/elf.h | 1 +
sysdeps/gnu/netinet/tcp.h | 24 +++++++++++++++++--
.../unix/sysv/linux/aarch64/arch-syscall.h | 2 ++
sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h | 2 ++
sysdeps/unix/sysv/linux/alpha/arch-syscall.h | 2 ++
sysdeps/unix/sysv/linux/arc/arch-syscall.h | 2 ++
sysdeps/unix/sysv/linux/arm/arch-syscall.h | 2 ++
sysdeps/unix/sysv/linux/bits/fcntl-linux.h | 3 +++
sysdeps/unix/sysv/linux/bits/sched.h | 3 +++
sysdeps/unix/sysv/linux/bits/uio-ext.h | 1 +
sysdeps/unix/sysv/linux/csky/arch-syscall.h | 2 ++
sysdeps/unix/sysv/linux/hppa/arch-syscall.h | 2 ++
sysdeps/unix/sysv/linux/i386/arch-syscall.h | 2 ++
.../unix/sysv/linux/loongarch/bits/hwcap.h | 2 ++
.../sysv/linux/loongarch/ilp32/arch-syscall.h | 3 +++
.../sysv/linux/loongarch/lp64/arch-syscall.h | 3 +++
sysdeps/unix/sysv/linux/m68k/arch-syscall.h | 2 ++
.../unix/sysv/linux/microblaze/arch-syscall.h | 2 ++
.../sysv/linux/mips/mips32/arch-syscall.h | 2 ++
.../sysv/linux/mips/mips64/n32/arch-syscall.h | 2 ++
.../sysv/linux/mips/mips64/n64/arch-syscall.h | 2 ++
sysdeps/unix/sysv/linux/or1k/arch-syscall.h | 2 ++
.../linux/powerpc/powerpc32/arch-syscall.h | 2 ++
.../linux/powerpc/powerpc64/arch-syscall.h | 2 ++
.../unix/sysv/linux/riscv/rv32/arch-syscall.h | 2 ++
.../unix/sysv/linux/riscv/rv64/arch-syscall.h | 2 ++
sysdeps/unix/sysv/linux/s390/arch-syscall.h | 2 ++
sysdeps/unix/sysv/linux/sh/arch-syscall.h | 2 ++
.../sysv/linux/sparc/sparc32/arch-syscall.h | 3 +++
.../sysv/linux/sparc/sparc64/arch-syscall.h | 3 +++
sysdeps/unix/sysv/linux/sys/mount.h | 6 +++++
sysdeps/unix/sysv/linux/sys/pidfd.h | 17 ++++++++++++-
sysdeps/unix/sysv/linux/syscall-names.list | 7 ++++--
sysdeps/unix/sysv/linux/tst-mman-consts.py | 2 +-
sysdeps/unix/sysv/linux/tst-mount-consts.py | 4 ++--
sysdeps/unix/sysv/linux/tst-openat2-consts.py | 4 ++--
sysdeps/unix/sysv/linux/tst-pidfd-consts.py | 2 +-
sysdeps/unix/sysv/linux/tst-sched-consts.py | 2 +-
.../unix/sysv/linux/x86_64/64/arch-syscall.h | 3 +++
.../unix/sysv/linux/x86_64/x32/arch-syscall.h | 3 +++
40 files changed, 124 insertions(+), 12 deletions(-)
--
2.43.0
More information about the Libc-alpha
mailing list