Skip to content
Snippets Groups Projects
Commit dceea502 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Add shell:fifo_file permission for audioserver"

parents cd61bc19 05e12dba
No related branches found
No related tags found
No related merge requests found
...@@ -52,9 +52,10 @@ not_full_treble(`allow audioserver audio_device:chr_file rw_file_perms;') ...@@ -52,9 +52,10 @@ not_full_treble(`allow audioserver audio_device:chr_file rw_file_perms;')
# For A2DP bridge which is loaded directly into audioserver # For A2DP bridge which is loaded directly into audioserver
unix_socket_connect(audioserver, bluetooth, bluetooth) unix_socket_connect(audioserver, bluetooth, bluetooth)
# Allow shell commands from ADB for CTS testing/dumping # Allow shell commands from ADB and shell for CTS testing/dumping
allow audioserver adbd:fd use; allow audioserver adbd:fd use;
allow audioserver adbd:unix_stream_socket { read write }; allow audioserver adbd:unix_stream_socket { read write };
allow audioserver shell:fifo_file { read write };
# Allow shell commands from ADB for CTS testing/dumping # Allow shell commands from ADB for CTS testing/dumping
userdebug_or_eng(` userdebug_or_eng(`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment