Notification time stamped 2022-04-01 04:39:58 UTC
From 2329a7b813d6110fc743888075a54dfb3fe767da Mon Sep 17 00:00:00 2001
From: Jesus Checa Hidalgo <jchecahi(a)redhat.com>
Date: Feb 15 2022 16:15:36 +0000
Subject: Add rpminspect config file.
This prevents badfuncs test to fail due to forbidden functions
being expectedly present in compiler-rt rpm.
---
diff --git a/rpminspect.yaml b/rpminspect.yaml
new file mode 100644
index 0000000..e3e96f2
--- /dev/null
+++ b/rpminspect.yaml
@@ -0,0 +1,21 @@
+---
+# For compiler-rt, we filter out the following forbidden functions from the list:
+# - gethostbyname
+# - gethostbyname2
+# - gethostbyaddr
+# - inet_aton
+# These are never actually used, and are installed just as interceptors.
+badfuncs:
+ - inet_addr
+ - 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
https://src.fedoraproject.org/rpms/compiler-rt/c/2329a7b813d6110fc7438880...