2013-12-14 07:19:45 +01:00
|
|
|
# Rules common to all binder service domains
|
|
|
|
|
2013-12-20 03:18:32 +01:00
|
|
|
# Allow dumpstate to collect information from binder services
|
2013-12-14 07:19:45 +01:00
|
|
|
allow binderservicedomain dumpstate:fd use;
|
|
|
|
allow binderservicedomain dumpstate:unix_stream_socket { read write getopt getattr };
|
2014-01-11 08:05:25 +01:00
|
|
|
allow binderservicedomain shell_data_file:file { getattr write };
|
2013-12-20 03:18:32 +01:00
|
|
|
|
|
|
|
# Allow dumpsys to work from adb shell
|
|
|
|
allow binderservicedomain devpts:chr_file rw_file_perms;
|
2014-03-21 15:24:04 +01:00
|
|
|
|
|
|
|
# Receive and write to a pipe received over Binder from an app.
|
|
|
|
allow binderservicedomain appdomain:fd use;
|
|
|
|
allow binderservicedomain appdomain:fifo_file write;
|