793527ec85
Resolveip binary is only used in mysql_install_db.sh script,
and only in non-"--rpm" mode [1]. However, we call this script with
"--rpm" option enabled, and thus the resolveip is not used [2],
and its badfuncs check can be disabled. [3]
Resolves: #1973194
[1] https://gitlab.com/redhat/centos-stream/rpms/mariadb/-/blob/c9s/mariadb-prepare-db-dir.sh#L100
[2] 5566cbadb0/scripts/mysql_install_db.sh (L425-L441)
[3] https://bugzilla.redhat.com/show_bug.cgi?id=1973194#c4
40 lines
1.2 KiB
YAML
40 lines
1.2 KiB
YAML
# based on https://lists.launchpad.net/maria-discuss/msg06133.html discussion
|
|
# are the invalid xmls (except for Index.xml) present in the sources on purpose
|
|
# and they can be removed from xmllint rpminspect check in the CI process.
|
|
#
|
|
# A bug report [https://jira.mariadb.org/browse/MDEV-26905] was created for the
|
|
# Index.xml file.
|
|
#
|
|
# CI picks up the rpmlimspect.yaml for specific package in the dist-git repo.
|
|
xml:
|
|
ignore:
|
|
- /usr/share/mysql-test/std_data/loadxml.dat
|
|
- /usr/share/mysql-test/std_data/loaddata/mdev9874.xml
|
|
- /usr/share/mysql-test/std_data/ldml/Index.xml
|
|
- /usr/share/mysql-test/plugin/sphinx/sphinx/testdata.xml
|
|
- /usr/share/mysql-test/plugin/connect/connect/std_data/nocs.xml
|
|
|
|
# ignore bad functions in resolveip binary, based on BZ1973194
|
|
# all forbidden functions listed in main rpminspect config
|
|
# have to be mentioned also here, else it would not be checked for them
|
|
badfuncs:
|
|
- gethostbyname
|
|
- gethostbyname2
|
|
- gethostbyaddr
|
|
- inet_addr
|
|
- inet_aton
|
|
- inet_nsap_addr
|
|
- inet_ntoa
|
|
- inet_nsap_ntoa
|
|
- inet_makeaddr
|
|
- inet_netof
|
|
- inet_network
|
|
- inet_neta
|
|
- inet_net_ntop
|
|
- inet_net_pton
|
|
- rcmd
|
|
- rexec
|
|
- rresvport
|
|
ignore:
|
|
- /usr/bin/resolveip
|