Fix the log level of IMA digest_list
This commit is contained in:
parent
93bf0e14c8
commit
f57c223441
@ -432,7 +432,7 @@ index 0000000..715b8d6
|
|||||||
+ /* the character \0xa is append to MAGIC */
|
+ /* the character \0xa is append to MAGIC */
|
||||||
+ offset = magic_len + 1;
|
+ offset = magic_len + 1;
|
||||||
+ if (file_size < offset) {
|
+ 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;
|
+ return 0;
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
|
|||||||
5
rpm.spec
5
rpm.spec
@ -1,6 +1,6 @@
|
|||||||
Name: rpm
|
Name: rpm
|
||||||
Version: 4.18.2
|
Version: 4.18.2
|
||||||
Release: 14
|
Release: 15
|
||||||
Summary: RPM Package Manager
|
Summary: RPM Package Manager
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://www.rpm.org/
|
URL: http://www.rpm.org/
|
||||||
@ -343,6 +343,9 @@ make clean
|
|||||||
%exclude %{_mandir}/man8/rpmspec.8.gz
|
%exclude %{_mandir}/man8/rpmspec.8.gz
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Sep 4 2024 gengqihu<gengqihu2@h-partners.com> - 4.18.2-14
|
||||||
- Backport some patches from upstream
|
- Backport some patches from upstream
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user