Skip to content

Commit 2e5951b

Browse files
Jesus Checa Hidalgonikic
authored andcommitted
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.
1 parent 10f88a7 commit 2e5951b

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

rpminspect.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
badfuncs:
3+
# For compiler-rt, we allow the following forbidden functions:
4+
# - gethostbyname
5+
# - gethostbyname2
6+
# - gethostbyaddr
7+
# - inet_aton
8+
# These are never actually used, and are installed just as interceptors.
9+
allowed:
10+
/usr/lib*/clang/*/lib/*/libclang_rt.?san.so:
11+
- gethostbyaddr
12+
- gethostbyname
13+
- gethostbyname2
14+
- inet_aton
15+
/usr/lib*/clang/*/lib/*/libclang_rt.memprof.so:
16+
- gethostbyaddr
17+
- gethostbyname
18+
- gethostbyname2
19+
- inet_aton
20+

0 commit comments

Comments
 (0)