From 6ec4c434286dd7e1c1dd129843be1f47c43b4fe6 Mon Sep 17 00:00:00 2001 From: Zuzana Miklankova Date: Tue, 22 Mar 2022 13:26:25 +0100 Subject: [PATCH] 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 --- rpminspect.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rpminspect.yaml b/rpminspect.yaml index e7d35c6..4c2a277 100644 --- a/rpminspect.yaml +++ b/rpminspect.yaml @@ -2,3 +2,8 @@ xml: ignore: - /usr/share/mysql-test/std_data/loadxml.dat +badfuncs: + ignore: + # udf_example.so can be ignored, as it is an example of how to write loadable functions + # Loadable functions were formerly known as UDF (User Defined Functions). + - /usr/lib64/mysql/plugin/udf_example.so