Fix the log level of IMA digest_list

This commit is contained in:
Huaxin Lu 2024-08-21 17:23:22 +08:00
parent 93bf0e14c8
commit f57c223441
2 changed files with 5 additions and 2 deletions

View File

@ -432,7 +432,7 @@ index 0000000..715b8d6
+ /* the character \0xa is append to MAGIC */
+ offset = magic_len + 1;
+ if (file_size < offset) {
+ rpmlog(RPMLOG_ERR, "digest_list: not have sig, do nothing\n");
+ rpmlog(RPMLOG_DEBUG, "digest_list: not have sig, do nothing\n");
+ return 0;
+ }
+

View File

@ -1,6 +1,6 @@
Name: rpm
Version: 4.18.2
Release: 14
Release: 15
Summary: RPM Package Manager
License: GPLv2+
URL: http://www.rpm.org/
@ -343,6 +343,9 @@ make clean
%exclude %{_mandir}/man8/rpmspec.8.gz
%changelog
* Wed Sep 11 2024 luhuaxin <luhuaxin1@huawei.com> - 4.18.2-15
- Fix the log level of IMA digest_list
* Wed Sep 4 2024 gengqihu<gengqihu2@h-partners.com> - 4.18.2-14
- Backport some patches from upstream