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.

Related: RHEL-57454
This commit is contained in:
Jesus Checa Hidalgo 2024-10-07 10:03:57 +02:00 committed by Konrad Kleine
parent 416ec7276b
commit 077d823076

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