rpminspect: Explicitly list allowed badfuncs in the _socket module

See https://github.com/rpminspect/rpminspect/pull/805
This commit is contained in:
Miro Hrončok 2022-07-18 21:36:19 +02:00 committed by churchyard
parent 0c6709aa13
commit 216f3d53bc
1 changed files with 4 additions and 2 deletions

View File

@ -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: