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:
Miro Hrončok 2022-09-05 17:32:25 +00:00 committed by churchyard
commit 119d97a7e0

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: