diff options
author | Mikhail Naganov | 2018-04-06 16:52:15 -0500 |
---|---|---|
committer | Mikhail Naganov | 2018-04-06 17:18:22 -0500 |
commit | 05e12dba34981ee86e3a899d61f94c4b2411b826 (patch) | |
tree | d1221f1fb4cec45047e746182bbfbfa4938bb016 /private | |
parent | ff146962b2c54b5705aa68e3d1436143500d4160 (diff) | |
download | system-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.te | 3 |
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 |
53 | unix_socket_connect(audioserver, bluetooth, bluetooth) | 53 | unix_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 |
56 | allow audioserver adbd:fd use; | 56 | allow audioserver adbd:fd use; |
57 | allow audioserver adbd:unix_stream_socket { read write }; | 57 | allow audioserver adbd:unix_stream_socket { read write }; |
58 | allow 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 |
60 | userdebug_or_eng(` | 61 | userdebug_or_eng(` |