Add fifo_file read access to enable gpuservice within device cts
Bug: 299537644 Test: atest -c CtsGraphicsTestCases:VulkanFeaturesTest#testAndroidBaselineProfile2021Support Change-Id: Iab5c4255f01317c197488158ef8cc63fcf0ebb3b
This commit is contained in:
parent
ead55ce93a
commit
4105da26f9
1 changed files with 4 additions and 5 deletions
|
@ -25,15 +25,14 @@ hwbinder_use(gpuservice)
|
|||
allow gpuservice graphics_device:dir search;
|
||||
allow gpuservice graphics_device:chr_file rw_file_perms;
|
||||
|
||||
# Needed for dumpsys pipes.
|
||||
allow gpuservice shell:fifo_file write;
|
||||
# Allow shell access
|
||||
allow gpuservice adbd:fd use;
|
||||
allow gpuservice adbd:unix_stream_socket { getattr read write };
|
||||
allow gpuservice shell:fifo_file { getattr read write };
|
||||
|
||||
# Needed for perfetto producer.
|
||||
perfetto_producer(gpuservice)
|
||||
|
||||
# Use socket supplied by adbd, for cmd gpu vkjson etc.
|
||||
allow gpuservice adbd:unix_stream_socket { read write getattr };
|
||||
|
||||
# Needed for interactive shell
|
||||
allow gpuservice devpts:chr_file { read write getattr };
|
||||
|
||||
|
|
Loading…
Reference in a new issue