Add exception for badfuncs inspection (rpminspect)

As compiler-rt libraries are now part of llvm package, we need to set
the exception we previously had on compiler-rt repo in the llvm repo.
This commit is contained in:
Jesus Checa Hidalgo 2024-10-07 16:41:23 +02:00 committed by Nikita Popov
parent 10f88a7d35
commit 2e5951b0d7

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