Merge "Fix selinux denial when running adb shell cmd virtual_camera commands" into main am: 4b94b1f5d0
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/3041274 Change-Id: I8cb91331ca7566a5189840188cebf48fe2ff6236 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
33c9c08fba
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