Details
-
Bug
-
Resolution: Won't Do
-
Not Evaluated
-
None
-
5.12.4
-
None
Description
I retroshare-service we use QNetworkInterface::allAddresses() to get local ip addresses on Android platform as you can see here
https://github.com/RetroShare/RetroShare/blob/master/libretroshare/src/pqi/pqinetwork.cc#L324
Up until now it has worked like a charm and it seems to still someway work on recent Android but we get our logs flooded with this obnoxious message
W org.retroshare.service:rs: type=1400 audit(0.0:20751): avc: denied { ioctl } for comm=7273206D61696E path="socket:[286375607]" dev="sockfs" ino=286375607 ioctlcmd=0x8b07 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:r:untrusted_app_25:s0:c512,c768 tclass=netlink_route_socket permissive=0
While the permission in Android manifests seems correct I have been also fiddling adding more permissions that might be related without success, before I discovered the message came from the Qt library we have been tracking this issue here where you can find more informations: