Commit Graph

14 Commits

Author SHA1 Message Date
Eugene Syromiatnikov
62e12e062c Fix issues discovered by static analysis
Applu 4 patches that fix various minor issues:
 - v29~5 "libkmod: fix an overflow with wrong modules.builtin.modinfo"
 - v31~29 "libkmod: do not crash on unknown signature algorithm"
 - v31~18 "libkmod: error out on unknown hash algorithm"
 - v33~1 "libkmod: avoid undefined behaviour in libkmod-builtin.c:get_string"

* 0001-libkmod-avoid-undefined-behaviour-in-libkmod-builtin.patch: New
file.
* 0001-libkmod-do-not-crash-on-unknown-signature-algorithm.patch:
Likewise.
* 0001-libkmod-error-out-on-unknown-hash-algorithm.patch: Likewise.
* 0001-libkmod-fix-an-overflow-with-wrong-modules.builtin.m.patch:
Likewise.
* kmod.spec (Release): Bump to 10.
(Patch02, Patch03, Patch04, Patch05): New patches.
(%changelog): New record.

Resolves: RHEL-34073
Signed-off-by: Eugene Syromiatnikov <esyr@redhat.com>
2024-08-16 15:19:03 +02:00
Eugene Syromiatnikov
36aca425e7 packaging: bump up revision (28-9)
- Add symvers.xz support to weak-modules

Resolves: rhbz#2192895
Signed-off-by: Eugene Syromiatnikov <esyr@redhat.com>
2023-05-19 10:20:58 +02:00
Eugene Syromiatnikov
6b0aa4e785 weak-modules: add symvers.xz support
Check for symvers.xz support in addition to symvers.gz,
due to unnanounced unilateral change[1][2] in the kernel packaging.

[1] 2644665657
[2] 2db77a072a

* weak-modules (make_kernel_file_names): Interpret all arguments after
the second as a list of suffixes, iterate over them
(find_kernel_file): Switch print and suffix arguments, interpret all
argument after print as suffixes, pass them to make_kernel_file_names.
(find_symvers_file): Update the order of arguments in the
find_kernel_file call, add .xz suffix in addition to .gz.
(find_systemmap_file): Update the order of arguments in the
find_kernel_file call.

Resolves: rhbz#2192895
Signed-off-by: Eugene Syromiatnikov <esyr@redhat.com>
2023-05-19 10:19:30 +02:00
Yauheni Kaliuta
2815bad792 man/rmmod: explain why modprobe -r is more useful (28-8)
Improve user experience by explaining the option so the user may not
search explanations in other manpages (modprobe).

Update also generated rmmod.8 to avoid building from xml with access
to external resources.

Resolves: rhbz#2164253

Signed-off-by: Yauheni Kaliuta <ykaliuta@redhat.com>
2023-02-09 16:58:26 +02:00
Yauheni Kaliuta
b2061f73d6 packaging: bump up revision (28-7)
- Add RHEL gating configuration.
  Related: rhbz#1985100

Signed-off-by: Yauheni Kaliuta <ykaliuta@redhat.com>
2021-10-21 22:02:31 +03:00
Aleksandra Fedorova
2915a11937 Add RHEL gating configuration
Related: rhbz#1985100
2021-10-21 20:57:58 +03:00
Yauheni Kaliuta
6576f848b8 Add default config file (28-6)
External modules packaging depends on the search order provided by
RHEL default config which is missing now from CentOS Stream.

Add and install the file.

Revision update, 28-6.

Resolves: rhbz#1985100

Signed-off-by: Yauheni Kaliuta <ykaliuta@redhat.com>
2021-10-20 12:11:19 +03:00
Mohan Boddu
30777827f8 Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-08-09 21:12:20 +00:00
Mohan Boddu
4e9810a908 Rebuilt for RHEL 9 BETA for openssl 3.0
Related: rhbz#1971065
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-06-16 03:27:27 +00:00
Mohan Boddu
1d234adaf7 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-04-16 00:56:14 +00:00
DistroBaker
a8baeeaa6b Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/kmod.git#93a23f7391f3f9ffc7f2ab72763442f6c64d5b43
2021-02-04 07:55:53 +01:00
DistroBaker
2873506112 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/kmod.git#393f16a127b027b16b5193efadbbe59490fb0ee2
2021-01-08 13:46:59 +00:00
Petr Šabata
c62209c195 RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/kmod#bddd48bb1f02b70118e3a0b652848567edac13b0
2020-10-15 15:03:55 +02:00
Release Configuration Management
98c736cb8e New branch setup 2020-10-08 16:19:08 +00:00