Nick Kralevich | 09e6abd | 2013-12-13 22:19:45 -0800 | [diff] [blame] | 1 | # Rules common to all binder service domains |
| 2 | |
Nick Kralevich | 5153890 | 2013-12-19 18:18:32 -0800 | [diff] [blame^] | 3 | # Allow dumpstate to collect information from binder services |
Nick Kralevich | 09e6abd | 2013-12-13 22:19:45 -0800 | [diff] [blame] | 4 | allow binderservicedomain dumpstate:fd use; |
| 5 | allow binderservicedomain dumpstate:unix_stream_socket { read write getopt getattr }; |
Nick Kralevich | 5153890 | 2013-12-19 18:18:32 -0800 | [diff] [blame^] | 6 | |
| 7 | # Allow dumpsys to work from adb shell |
| 8 | allow binderservicedomain devpts:chr_file rw_file_perms; |