diff --git a/binderservicedomain.te b/binderservicedomain.te index a67d5856e9adcf09efc18c3eee4cb81f1065a945..cf2943da6f73b2d44e3977a8dd2822b9fd17daf5 100644 --- a/binderservicedomain.te +++ b/binderservicedomain.te @@ -1,5 +1,8 @@ # Rules common to all binder service domains -# Alow dumpstate to collect information from binder services +# Allow dumpstate to collect information from binder services allow binderservicedomain dumpstate:fd use; allow binderservicedomain dumpstate:unix_stream_socket { read write getopt getattr }; + +# Allow dumpsys to work from adb shell +allow binderservicedomain devpts:chr_file rw_file_perms;