Support syscalls of kernel 5.4

I have looked at https://sourceware.org/git/?p=glibc.git;a=history;f=sysdeps/unix/sysv/linux/syscall-names.list;h=HEAD;hb=HEAD
and it seems that we do not support quite a lot of syscalls

We loose ability to run in chroots/containers on CentOS 8, but it is probably not a big problem for us right now
(ROSA is not a populer distro for contaienrs unfortunately)
and, I think, it is better to support newer syscalls than try to support strange hosts of containers.
We do not support RHEL 7 hosts now (they have kernel 3.10, but we require 4.0+).

Both rosa2019.1 and RHEL 9 with a newer kernel will be released soon

Discussed with and approved by fedya@.
He also said that older kernels are not required on aarch64.
This commit is contained in:
Mikhail Novosyolov 2020-11-29 01:29:52 +03:00
parent 9e7c4fad2f
commit f1a767cc8f

View file

@ -59,25 +59,7 @@
%define xenarches %{ix86}
# Determine minimum kernel versions (rhbz#619538)
%ifarch %{arm}
# currently using 3.0.35 kernel with wandboard
%define enablekernel 3.0.35
%else
%ifarch %{aarch64}
# Before increasing, please make sure all
# boxes we support can be updated:
# As of 2020/07/15:
# Synquacer, Macchiatobin and friends have mainline
# Rockchip 3399 has 4.4.x
# Gemini PDA has 3.18.x
# Nexus 5X has 3.10.x
%define enablekernel 3.10.0
%else
# (tpg) some popular clouds will fail with error "FATAL: kernel too old"
# when running our docker or building it. Let's be safe and pretend it's 2015.
%define enablekernel 4.0
%endif
%endif
%define enablekernel 5.4
# Define to build nscd with selinux support
# Distro-specific default value is defined in branding-configs package
@ -115,7 +97,7 @@ Source0: http://ftp.gnu.org/gnu/glibc/%{oname}-%{ver}.tar.xz
#if %(test $(echo %{version}.0 |cut -d. -f3) -lt 90 && echo 1 || echo 0)
#Source1: http://ftp.gnu.org/gnu/glibc/%{oname}-%{ver}.tar.xz.sig
#endif
Release: 2
Release: 3
License: LGPLv2+ and LGPLv2+ with exceptions and GPLv2+
Group: System/Libraries
Url: http://www.gnu.org/software/libc/