QNetworkInterface: disable Netlink-based Linux support on Android
Android 11's SELinux rules block the RTM_GETLINK requests that qnetworkinterface_linux.cpp needs to make. So disable this completely and fall back on the older rimplementation. Bionic has some workarounds in their getifaddrs() implementation to make this work. Fixes: QTBUG-86394 Change-Id: I87447a0ecdee4dc7b506fffd163180c2b1db7835 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io> (cherry picked from commit e33d40a88476e8a9d4f950fb285c75d0c1a92a2e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit c07eff7d9477a5a098c76fb2107d9f902c2999ac)
This commit is contained in:
parent
daaf3a2eba
commit
ab4e78b435
@ -212,7 +212,7 @@
|
||||
},
|
||||
"linux-netlink": {
|
||||
"label": "Linux AF_NETLINK",
|
||||
"condition": "config.linux && tests.linux-netlink",
|
||||
"condition": "config.linux && !config.android && tests.linux-netlink",
|
||||
"output": [ "privateFeature" ]
|
||||
},
|
||||
"openssl": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user