Merge "Cameraserver: Allow shell user to use 'cmd media.camera'" am: 0a1c9a9447 am: be06ab0d80

am: 066ddee23c

Change-Id: I713b53287fedfd915bc80917fb38d3ee94049072
This commit is contained in:
Eino-Ville Talvala 2018-01-23 21:09:32 +00:00 committed by android-build-merger
commit 972d9e46be

View file

@ -53,6 +53,8 @@ neverallow cameraserver domain:{ tcp_socket udp_socket rawip_socket } *;
# Allow shell commands from ADB for CTS testing/dumping
allow cameraserver adbd:fd use;
allow cameraserver adbd:unix_stream_socket { read write };
allow cameraserver shell:fd use;
allow cameraserver shell:unix_stream_socket { read write };
# Allow shell commands from ADB for CTS testing/dumping
userdebug_or_eng(`