From 077d823076d6bc72aed466c8517c9016291b8298 Mon Sep 17 00:00:00 2001 From: Jesus Checa Hidalgo Date: Mon, 7 Oct 2024 10:03:57 +0200 Subject: [PATCH] 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 --- rpminspect.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 rpminspect.yaml diff --git a/rpminspect.yaml b/rpminspect.yaml new file mode 100644 index 0000000..2f600c2 --- /dev/null +++ b/rpminspect.yaml @@ -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 +