Merge "Allow simpleperf_app_runner to write to shell pipe fds." am: 4c26361472 am: 642d69dbdc

Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/1707486

Change-Id: I266199a014163bbdbb49adf6bf84b885e8009a5a
This commit is contained in:
Yabin Cui 2021-05-14 21:17:27 +00:00 committed by Automerger Merge Worker
commit c7e09a418a

View file

@ -27,7 +27,8 @@ allow simpleperf_app_runner untrusted_app_all:process dyntransition; # setcon
allow simpleperf_app_runner seapp_contexts_file:file r_file_perms;
# simpleperf_app_runner passes pipe fds.
allow simpleperf_app_runner shell:fifo_file read;
# simpleperf_app_runner writes app type (debuggable or profileable) to pipe fds.
allow simpleperf_app_runner shell:fifo_file { read write };
# simpleperf_app_runner checks shell data paths.
# simpleperf_app_runner passes shell data fds.