diff --git a/binderservicedomain.te b/binderservicedomain.te index db2f93ffa7b60343e57028174c02f52012429862..2533fbef01ee005e5a6974a38d41960325bf7329 100644 --- a/binderservicedomain.te +++ b/binderservicedomain.te @@ -5,8 +5,9 @@ allow binderservicedomain dumpstate:fd use; allow binderservicedomain dumpstate:unix_stream_socket { read write getopt getattr }; allow binderservicedomain shell_data_file:file { getattr write }; -# Allow dumpsys to work from adb shell +# Allow dumpsys to work from adb shell or the serial console allow binderservicedomain devpts:chr_file rw_file_perms; +allow binderservicedomain console_device:chr_file rw_file_perms; # Receive and write to a pipe received over Binder from an app. allow binderservicedomain appdomain:fd use;