Enable CET hardware protections

Resolves: RHEL-240103
This commit is contained in:
Charalampos Stratakis 2026-08-13 15:40:42 +02:00
parent 2677b5a6f2
commit aebcd739a4
2 changed files with 3793 additions and 1 deletions

3787
cet-protections.patch Normal file

File diff suppressed because it is too large Load Diff

View File

@ -53,6 +53,10 @@ Patch: fix-test_validate_transcendentals-x86_64.patch
# https://github.com/numpy/numpy/pull/31360 # https://github.com/numpy/numpy/pull/31360
Patch: fix-signed-overflow-s390x.patch Patch: fix-signed-overflow-s390x.patch
# Enable CET hardware protections for the AVX-512 assembly
# Sent upstream: https://github.com/numpy/SVML/pull/8
Patch: cet-protections.patch
BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: gcc-gfortran gcc gcc-c++ BuildRequires: gcc-gfortran gcc gcc-c++
BuildRequires: lapack-devel BuildRequires: lapack-devel
@ -252,7 +256,8 @@ export PYTHONPATH=%{buildroot}%{python3_sitearch}
- Fix issues identified via Coverity static analysis - Fix issues identified via Coverity static analysis
- Fix test_validate_transcendentals skip to match SVML dispatch - Fix test_validate_transcendentals skip to match SVML dispatch
- Fix signed overflow issue in npy_gcd for INT_MIN on s390x - Fix signed overflow issue in npy_gcd for INT_MIN on s390x
- Fixes: RHEL-193002, RHEL-193001, RHEL-193000 - Enable CET hardware protections
- Fixes: RHEL-193002, RHEL-193001, RHEL-193000, RHEL-240103
* Thu Oct 23 2025 Tomáš Hrnčiar <thrnciar@redhat.com> - 2.3.4-1 * Thu Oct 23 2025 Tomáš Hrnčiar <thrnciar@redhat.com> - 2.3.4-1
- Initial import - Initial import