Xavier de Gaye <xdeg...@gmail.com> added the comment:

'adb logcat' is a tool that monitors many kind of events on Android. Both ip 
commands prints a SElinux record on logcat:

Upon the successfull 'ip link' command, logcat prints:
12-06 09:17:24.119  2460  2460 W ip      : type=1400 audit(0.0:8): avc: denied 
{ search } for name="net" dev="vdc" ino=91 scontext=u:r:shell:s0 
tcontext=u:object_r:net_data_file:s0 tclass=dir permissive=0

Upon the failed 'ip link' command, logcat prints:
12-06 09:17:42.109  2461  2461 W ip      : type=1400 audit(0.0:9): avc: denied 
{ nlmsg_write } for scontext=u:r:shell:s0 tcontext=u:r:shell:s0 
tclass=netlink_route_socket permissive=0

----------

_______________________________________
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

Reply via email to