blob: 5990301458948c510e27836536d1a4d5fa75f5e8 [file] [log] [blame]
Nick Kralevich09e6abd2013-12-13 22:19:45 -08001# Rules common to all binder service domains
2
Nick Kralevich51538902013-12-19 18:18:32 -08003# Allow dumpstate to collect information from binder services
Nick Kralevich09e6abd2013-12-13 22:19:45 -08004allow binderservicedomain dumpstate:fd use;
5allow binderservicedomain dumpstate:unix_stream_socket { read write getopt getattr };
Nick Kralevich2e7a3012014-01-10 23:05:25 -08006allow binderservicedomain shell_data_file:file { getattr write };
Nick Kralevich51538902013-12-19 18:18:32 -08007
8# Allow dumpsys to work from adb shell
9allow binderservicedomain devpts:chr_file rw_file_perms;