Merge "Allow hal_graphics_composer to write to a pipe We would like SurfaceFlinger to be able to create a pipe and provide the write-end to the graphics composer to dump debug info for dumpsys. Bug: 220171623 Test: atest VtsHalGraphicsComposer3_TargetTest Test: adb shell dumpsys SurfaceFlinger Test: adb shell dumpsys android.hardware.graphics.composer3.IComposer/default"
This commit is contained in:
commit
5beaf4adfb
1 changed files with 4 additions and 0 deletions
|
@ -31,6 +31,10 @@ allow hal_graphics_composer appdomain:fd use;
|
|||
# allow self to set SCHED_FIFO
|
||||
allow hal_graphics_composer self:global_capability_class_set sys_nice;
|
||||
|
||||
# allow surfaceflinger to use a pipe for dumpsys output
|
||||
allow hal_graphics_composer_server hal_graphics_composer_client:fifo_file write;
|
||||
|
||||
|
||||
binder_call(hal_graphics_composer_client, servicemanager)
|
||||
binder_call(hal_graphics_composer_server, servicemanager)
|
||||
|
||||
|
|
Loading…
Reference in a new issue