Last active
May 12, 2019 18:23
-
-
Save steadfasterX/8f05f6f222d8ed4e2bb8b0883b1af282 to your computer and use it in GitHub Desktop.
selinux: permissive or enforcing?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
adb logcat -b kernel |grep avc: | |
> 05-12 20:10:27.665 0 0 E [ 16.154118 / 05-12 18:10:27.658][1] selinux: avc: denied { set } for | |
property=ro.bluetooth.sap pid=3540 uid=0 gid=0 scontext=u:r:qti_init_shell:s0 tcontext=u:object_r:default_prop:s0 | |
tclass=property_service permissive=1 | |
-------------------------- | |
adb shell getenforce | |
> Permissive | |
######################################################################## | |
adb logcat -b kernel |grep avc: | |
> 05-12 20:10:27.665 0 0 E [ 16.154118 / 05-12 18:10:27.658][1] selinux: avc: denied { set } for | |
property=ro.bluetooth.sap pid=3540 uid=0 gid=0 scontext=u:r:qti_init_shell:s0 tcontext=u:object_r:default_prop:s0 | |
tclass=property_service permissive=0 | |
-------------------------- | |
adb shell getenforce | |
> Enforcing | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment