# Rules common to all binder service domains | |
# Allow dumpstate to collect information from binder services | |
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 binderservicedomain devpts:chr_file rw_file_perms; |