blob: 757d807748bd8dd9c7a58b8b1478a12fd04dcc9e [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;
Stephen Smalley644279b2014-03-21 10:24:04 -040010
11# Receive and write to a pipe received over Binder from an app.
12allow binderservicedomain appdomain:fd use;
13allow binderservicedomain appdomain:fifo_file write;