From e33d40a88476e8a9d4f950fb285c75d0c1a92a2e Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Thu, 3 Sep 2020 23:28:36 -0700 Subject: 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 Pick-to: 5.15 5.15.1 Change-Id: I87447a0ecdee4dc7b506fffd163180c2b1db7835 Reviewed-by: Timur Pocheptsov Reviewed-by: Alex Blasche --- src/network/configure.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/network/configure.json') diff --git a/src/network/configure.json b/src/network/configure.json index ae3af28fec..9a09d3f2e1 100644 --- a/src/network/configure.json +++ b/src/network/configure.json @@ -273,7 +273,7 @@ }, "linux-netlink": { "label": "Linux AF_NETLINK", - "condition": "config.linux && tests.linux-netlink", + "condition": "config.linux && !config.android && tests.linux-netlink", "output": [ "privateFeature" ] }, "openssl": { -- cgit v1.2.3