diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2020-09-03 23:28:36 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2020-09-08 21:00:28 -0700 |
commit | e33d40a88476e8a9d4f950fb285c75d0c1a92a2e (patch) | |
tree | d4e159009bb49678521931d0393838f89e626985 /src/network | |
parent | e2e493a0169969f34cb0053d96a2f45944aea838 (diff) |
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 <timur.pocheptsov@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/configure.json | 2 |
1 files changed, 1 insertions, 1 deletions
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": { |