aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikhail Naganov2018-04-06 16:52:15 -0500
committerMikhail Naganov2018-04-06 17:18:22 -0500
commit05e12dba34981ee86e3a899d61f94c4b2411b826 (patch)
treed1221f1fb4cec45047e746182bbfbfa4938bb016 /private
parentff146962b2c54b5705aa68e3d1436143500d4160 (diff)
downloadsystem-sepolicy-05e12dba34981ee86e3a899d61f94c4b2411b826.tar.gz
system-sepolicy-05e12dba34981ee86e3a899d61f94c4b2411b826.tar.xz
system-sepolicy-05e12dba34981ee86e3a899d61f94c4b2411b826.zip
Add shell:fifo_file permission for audioserver
Bug: 73405145 Test: cts-tradefed run cts -m CtsMediaTestCases -t android.media.cts.AudioRecordTest#testRecordNoDataForIdleUids Change-Id: I09bdb74c9ecc317ea090643635ca26165efa423a (cherry picked from commit c5815891f87eee9fd4d1442aecfa6fb60bdf3ad6) Merged-In: I09bdb74c9ecc317ea090643635ca26165efa423a
Diffstat (limited to 'private')
-rw-r--r--private/audioserver.te3
1 files changed, 2 insertions, 1 deletions
diff --git a/private/audioserver.te b/private/audioserver.te
index b7d5320e..471fcbed 100644
--- a/private/audioserver.te
+++ b/private/audioserver.te
@@ -52,9 +52,10 @@ not_full_treble(`allow audioserver audio_device:chr_file rw_file_perms;')
52# For A2DP bridge which is loaded directly into audioserver 52# For A2DP bridge which is loaded directly into audioserver
53unix_socket_connect(audioserver, bluetooth, bluetooth) 53unix_socket_connect(audioserver, bluetooth, bluetooth)
54 54
55# Allow shell commands from ADB for CTS testing/dumping 55# Allow shell commands from ADB and shell for CTS testing/dumping
56allow audioserver adbd:fd use; 56allow audioserver adbd:fd use;
57allow audioserver adbd:unix_stream_socket { read write }; 57allow audioserver adbd:unix_stream_socket { read write };
58allow audioserver shell:fifo_file { read write };
58 59
59# Allow shell commands from ADB for CTS testing/dumping 60# Allow shell commands from ADB for CTS testing/dumping
60userdebug_or_eng(` 61userdebug_or_eng(`