Merge "Fix dumpstate denials related to virtual_camera" into main
This commit is contained in:
commit
d3fe043eb8
2 changed files with 8 additions and 0 deletions
|
@ -59,6 +59,9 @@ userdebug_or_eng(`
|
|||
# Allow dumpstate to talk to automotive_display_service over binder
|
||||
binder_call(dumpstate, automotive_display_service)
|
||||
|
||||
# Allow dumpstate to talk to virtual_camera service over binder
|
||||
binder_call(dumpstate, virtual_camera)
|
||||
|
||||
# Collect metrics on boot time created by init
|
||||
get_prop(dumpstate, boottime_prop)
|
||||
|
||||
|
@ -67,6 +70,7 @@ allow dumpstate {
|
|||
mediatranscoding
|
||||
statsd
|
||||
netd
|
||||
virtual_camera
|
||||
}:process signal;
|
||||
|
||||
# Only allow dumpstate to dump Keystore on debuggable builds.
|
||||
|
|
|
@ -24,3 +24,7 @@ hal_client_domain(virtual_camera, hal_graphics_allocator)
|
|||
# Allow virtual_camera to use GPU
|
||||
allow virtual_camera gpu_device:chr_file rw_file_perms;
|
||||
allow virtual_camera gpu_device:dir r_dir_perms;
|
||||
|
||||
# For collecting bugreports.
|
||||
allow virtual_camera dumpstate:fd use;
|
||||
allow virtual_camera dumpstate:fifo_file write;
|
||||
|
|
Loading…
Reference in a new issue