ignore udf_example.so in badfuncs check

Resolves: #2047868

udf_example.so contains following deprecated functions:
gethostbyaddr
gethostbyname
inet_addr
inet_ntoa

The udf_example.so can be ignored from badfuncs check, because it is an
exemplary file, showing users how to write own loadable functions. Even
though code from this .so can be used in mysql server, it needs to be
manually loaded by the user.

Deprecated functions have been reported upstream [1].

[1] https://bugs.mysql.com/bug.php?id=106797
This commit is contained in:
Zuzana Miklankova 2022-03-22 14:16:57 +01:00 committed by Michal Schorm
parent dd3ea12884
commit f5302202e6

5
rpminspect.yaml Normal file
View File

@ -0,0 +1,5 @@
badfuncs:
ignore:
# udf_example.so can be ignored, as it is an example of how to write loadable functions
# Loadable functions were formerly know as UDF (User Defined Functions).
- /usr/lib64/mysql/plugin/udf_example.so