public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/mstflint] rawhide: add rpminspect.yaml to waive badfuncs for mstmtserver
@ 2026-08-07 13:39 Michal Schmidt
  0 siblings, 0 replies; only message in thread
From: Michal Schmidt @ 2026-08-07 13:39 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/mstflint
            Branch : rawhide
            Commit : e8e178cc192fe995588a866a5303223d1079cd1c
            Author : Michal Schmidt <mschmidt@redhat.com>
            Date   : 2026-08-06T14:21:13+02:00
            Stats  : +9/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/mstflint/c/e8e178cc192fe995588a866a5303223d1079cd1c?branch=rawhide

            Log:
            add rpminspect.yaml to waive badfuncs for mstmtserver

The badfuncs test of rpminspect reports:
/usr/bin/mstmtserver may use forbidden functions on x86_64
Forbidden function symbols found:
	gethostbyaddr
	inet_ntoa

I considered converting the code to getaddrinfo(), etc., but I wouldn't
be able to test it, because the open source mstflint utilities do not
contain code to connect to the server and I am not doing this to benefit
the proprietary MFT from DOCA-OFED.

---
diff --git a/rpminspect.yaml b/rpminspect.yaml
new file mode 100644
index 0000000..88409a4
--- /dev/null
+++ b/rpminspect.yaml
@@ -0,0 +1,9 @@
+---
+# mstmtserver uses deprecated IPv4-only functions.
+# It would be easy to make the code dual-stack compatible, but the open source
+# version of mstflint is missing client-side code, so why bother.
+badfuncs:
+  allowed:
+    /usr/bin/mstmtserver:
+       - gethostbyaddr
+       - inet_ntoa

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-07 13:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-07 13:39 [rpms/mstflint] rawhide: add rpminspect.yaml to waive badfuncs for mstmtserver Michal Schmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox