Add rpminspect.yaml to ignore badfuncs

Resolves: RHEL-151420
This commit is contained in:
Martin Osvald 2026-04-01 13:42:04 +02:00
parent c4ef4d9a2c
commit c048c07f18
2 changed files with 23 additions and 0 deletions

View File

@ -516,6 +516,7 @@ done
* Tue Mar 31 2026 Martin Osvald <mosvald@redhat.com> - 12:4.4.2-21.b1
- Fix buffer overflow in print_hw_addr()
Resolves: RHEL-151420
- Add rpminspect.yaml to ignore badfuncs
* Wed Jan 07 2026 Martin Osvald <mosvald@redhat.com> - 12:4.4.2-20.b1
- Create /var/lib/dhcpd through systemd-tmpfiles

22
rpminspect.yaml Normal file
View File

@ -0,0 +1,22 @@
---
badfuncs:
# Adding waiver for all these functions to stop rpminspec to complain about them.
# The DHCP is EOL software so there is no chance to get them replaced
# with alternatives upstream.
allowed:
/usr/bin/omshell:
- gethostbyname
- inet_ntoa
/usr/sbin/dhcpd:
- gethostbyaddr
- gethostbyname
- inet_ntoa
/usr/sbin/dhclient:
- gethostbyname
- inet_ntoa
/usr/sbin/dhcrelay:
- gethostbyname
- inet_ntoa
/usr/sbin/keama:
- gethostbyname