Add local rpminspect.yaml to waive badfuncs failure
Remove `inet_aton` from forbidden function symbol list. Related: #1966123 Signed-off-by: Wen Liang <wenliang@redhat.com>
This commit is contained in:
parent
14ce0cbd5b
commit
47c72e1b36
44
rpminspect.yaml
Normal file
44
rpminspect.yaml
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
#
|
||||||
|
# rpminspect configuration file
|
||||||
|
#
|
||||||
|
# *** INTERNAL SETTINGS FOR RED HAT -- DO NOT REDISTRIBUTE ***
|
||||||
|
#
|
||||||
|
# In order to tweak the rpminspect configuration per component, the
|
||||||
|
# default configuration file can be obtained from
|
||||||
|
# https://gitlab.cee.redhat.com/osci/rpminspect-data-redhat/-/blob/master/redhat.yaml
|
||||||
|
|
||||||
|
---
|
||||||
|
badfuncs:
|
||||||
|
# Shared function names prohibited from executables and libraries.
|
||||||
|
# The function names listed here are generally ones provided by
|
||||||
|
# the system, but are deprecated in favor of more modern
|
||||||
|
# alternatives. As a rule we do not want to make use of those but
|
||||||
|
# only provide them to users for backwards compatibility.
|
||||||
|
|
||||||
|
# This is an array of forbidden function names.
|
||||||
|
# Forbidden function symbol `inet_aton` is used in NetworkManager
|
||||||
|
# (Since 1.32.2 ).
|
||||||
|
# So drop these three function symbols from the list.
|
||||||
|
- gethostbyname
|
||||||
|
- gethostbyname2
|
||||||
|
- gethostbyaddr
|
||||||
|
- 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
|
||||||
|
|
||||||
|
# Optional list of glob(7) specifications to match files to ignore
|
||||||
|
# for this inspection. The format of this list is the same as the
|
||||||
|
# global 'ignore' list. The difference is the items specified
|
||||||
|
# here will only be used during this inspection.
|
||||||
|
#ignore:
|
||||||
|
# - /usr/lib*/libexample.so*
|
Loading…
Reference in New Issue
Block a user