Xavier de Gaye <xdeg...@gmail.com> added the comment: You may be right Serhiy. Those tests have been run on the emulator at API 24 (Android 7.0 Nougat, the first API version where SELinux is run in enforced mode) where 'ip link list' fails, but on my device (a Samsung API 21, Android 5.1 Lollipop) running the 'ip link list' (using the termux package installed from google PlayStore) the command is ok.
The Android source of iproute2 can be: * browsed at: https://android.googlesource.com/platform/external/iproute2/+/master * cloned from: https://android.googlesource.com/platform/external/iproute2/ They are using iproute2-3.4.0 released in 2012, see README.version. I checked that the ip/ subdirectory on the Android master branch is unchanged from upstream 3.4.0 at https://www.kernel.org/pub/linux/utils/net/iproute2/. The Android SELinux policies are at: https://android.googlesource.com/platform/system/sepolicy/ Does someone know how to read them ? Maybe we should just close this issue as 'wont fix' then. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32199> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com