Fix selinux denial when running adb shell cmd virtual_camera commands
Bug: 333889277 Test: forrest Change-Id: I195125b907f56e9a50d13e3ca4c28a1cfcc257b1
This commit is contained in:
parent
021596b37f
commit
7f271ce061
1 changed files with 5 additions and 0 deletions
|
@ -50,3 +50,8 @@ allow virtual_camera dumpstate:fifo_file write;
|
|||
|
||||
# Needed for permission checks.
|
||||
allow virtual_camera permission_service:service_manager find;
|
||||
|
||||
# Allow 'adb shell cmd' to configure test instances of camera.
|
||||
allow virtual_camera adbd:fd use;
|
||||
allow virtual_camera adbd:unix_stream_socket { getattr read write };
|
||||
allow virtual_camera shell:fifo_file { getattr read write };
|
||||
|
|
Loading…
Reference in a new issue