public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michal Schmidt <mschmidt@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/mstflint] rawhide: add rpminspect.yaml to waive badfuncs for mstmtserver
Date: Fri, 07 Aug 2026 13:39:58 GMT [thread overview]
Message-ID: <178610999807.1.5349237236600099190.rpms-mstflint-e8e178cc192f@fedoraproject.org> (raw)
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
reply other threads:[~2026-08-07 13:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178610999807.1.5349237236600099190.rpms-mstflint-e8e178cc192f@fedoraproject.org \
--to=mschmidt@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox