Update rpminspect's badfuncts test configuration

Related: rhbz#2107785
This commit is contained in:
Jesus Checa Hidalgo 2022-08-03 12:10:39 +02:00
parent 381d70814c
commit 5d7bff7b8c

View File

@ -1,21 +1,19 @@
--- ---
# For compiler-rt, we filter out the following forbidden functions from the list: badfuncs:
# For compiler-rt, we allow the following forbidden functions:
# - gethostbyname # - gethostbyname
# - gethostbyname2 # - gethostbyname2
# - gethostbyaddr # - gethostbyaddr
# - inet_aton # - inet_aton
# These are never actually used, and are installed just as interceptors. # These are never actually used, and are installed just as interceptors.
badfuncs: allowed:
- inet_addr /usr/lib*/clang/*/lib/libclang_rt.?san*so:
- inet_nsap_addr - gethostbyaddr
- inet_ntoa - gethostbyname
- inet_nsap_ntoa - gethostbyname2
- inet_makeaddr - inet_aton
- inet_netof /usr/lib*/clang/*/lib/libclang_rt.memprof*so:
- inet_network - gethostbyaddr
- inet_neta - gethostbyname
- inet_net_ntop - gethostbyname2
- inet_net_pton - inet_aton
- rcmd
- rexec
- rresvport