am fc10f2a7: Merge "runas: allow pipe communication from the shell"

* commit 'fc10f2a759cfeca49814bc9ebec77b810148e2a2':
  runas: allow pipe communication from the shell
This commit is contained in:
Nick Kralevich 2014-06-13 13:07:29 +00:00 committed by Android Git Automerger
commit 4dcb8245ae

View file

@ -4,7 +4,8 @@ type runas_exec, exec_type, file_type;
# ndk-gdb invokes adb shell run-as.
domain_auto_trans(shell, runas_exec, runas)
allow runas adbd:process sigchld;
allow runas shell:fd use;
allow runas shell:fd use;
allow runas shell:fifo_file { read write };
allow runas devpts:chr_file { read write ioctl };
# run-as reads package information.