rpminspect: add badfuncs inspection exception

This commit is contained in:
Jesus Checa Hidalgo 2023-06-30 11:35:46 +02:00
parent 7f035ec299
commit 97a8fd8995
1 changed files with 20 additions and 0 deletions

20
rpminspect.yaml Normal file
View File

@ -0,0 +1,20 @@
---
badfuncs:
# For compiler-rt, we allow the following forbidden functions:
# - gethostbyname
# - gethostbyname2
# - gethostbyaddr
# - inet_aton
# These are never actually used, and are installed just as interceptors.
allowed:
/usr/lib*/clang/*/lib/libclang_rt.?san*so:
- gethostbyaddr
- gethostbyname
- gethostbyname2
- inet_aton
/usr/lib*/clang/*/lib/libclang_rt.memprof*so:
- gethostbyaddr
- gethostbyname
- gethostbyname2
- inet_aton