rpminspect: Explicitly list allowed badfuncs in the _socket module
See https://github.com/rpminspect/rpminspect/pull/805 Backported from https://src.fedoraproject.org/rpms/python3.11/c/216f3d53bcdd8415503a7541552ca566e097ae07
This commit is contained in:
parent
aa19b39b5d
commit
119d97a7e0
1 changed files with 4 additions and 2 deletions
|
|
@ -6,8 +6,10 @@ xml:
|
|||
|
||||
# exclude _socket from ipv4 only functions check, it has both ipv4 and ipv6 only
|
||||
badfuncs:
|
||||
ignore:
|
||||
- /usr/lib*/python*/lib-dynload/_socket.*
|
||||
allowed:
|
||||
/usr/lib*/python*/lib-dynload/_socket.*:
|
||||
- inet_aton
|
||||
- inet_ntoa
|
||||
|
||||
# exclude the debug build from annocheck entirely
|
||||
annocheck:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue