]> git.ipfire.org Git - thirdparty/glibc.git/commit
Remove kernel version check
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 21 Feb 2022 11:32:32 +0000 (08:32 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 16 May 2022 18:03:49 +0000 (15:03 -0300)
commitb46d250656794e63a2946c481fda29271342dd1a
treec2e056aa6ae5eb18f79a356b4bbd2f645446291c
parent97a912f7a832a662960749948049e15f3aecb2a7
Remove kernel version check

The kernel version check is used to avoid glibc to run on older
kernels where some syscall are not available and fallback code are
not enabled to handle graciously fail.  However, it does not prevent
if the kernel does not correctly advertise its version through
vDSO note, uname or procfs.

Also kernel version checks are sometime not desirable by users,
where they want to deploy on different system with different kernel
version knowing the minimum set of syscall is always presented on
such systems.

The kernel version check has been removed along with the
LD_ASSUME_KERNEL environment variable.  The minimum kernel used to
built glibc is still provided through NT_GNU_ABI_TAG ELF note and
also printed when libc.so is issued.

Checked on x86_64-linux-gnu.
17 files changed:
NEWS
config.h.in
csu/libc-start.c
csu/version.c
elf/dl-cache.c
elf/dl-diagnostics.c
elf/dl-load.c
elf/dl-support.c
elf/rtld.c
sysdeps/generic/ldsodefs.h
sysdeps/unix/sysv/linux/configure
sysdeps/unix/sysv/linux/configure.ac
sysdeps/unix/sysv/linux/dl-librecon.h [deleted file]
sysdeps/unix/sysv/linux/dl-osinfo.h
sysdeps/unix/sysv/linux/dl-sysdep.c
sysdeps/unix/sysv/linux/dl-sysdep.h
sysdeps/unix/sysv/linux/i386/dl-librecon.h