Skip to content
Snippets Groups Projects
Commit f20b04ef authored by Steven Moreland's avatar Steven Moreland
Browse files

Allow bugreport to dump some HAL processes.

Whitelist several hals which can be dumped by bugreports. Don't want to
dump more because of the time it takes and also certain hals have
sensitive data which shouldn't be dumped (i.e. keymaster).

Test: dumps work for given hals
Bug: 36414311
Change-Id: Ic0eddfa95fa33abbc983d3b5161e42c240663f22
parent 08d6f566
No related branches found
No related tags found
No related merge requests found
...@@ -52,18 +52,24 @@ allow dumpstate domain:process getattr; ...@@ -52,18 +52,24 @@ allow dumpstate domain:process getattr;
allow dumpstate { appdomain system_server }:process signal; allow dumpstate { appdomain system_server }:process signal;
# Signal native processes to dump their stack. # Signal native processes to dump their stack.
# This list comes from native_processes_to_dump in dumpstate/utils.c
allow dumpstate { allow dumpstate {
# This list comes from native_processes_to_dump in dumpstate/utils.c
audioserver audioserver
cameraserver cameraserver
drmserver drmserver
inputflinger inputflinger
mediacodec
mediadrmserver mediadrmserver
mediaextractor mediaextractor
mediaserver mediaserver
sdcardd sdcardd
surfaceflinger surfaceflinger
# This list comes from hal_interfaces_to_dump in dumpstate/utils.c
hal_audio_server
hal_bluetooth_server
hal_camera_server
hal_vr_server
mediacodec # TODO(b/36375899): hal_omx_server
}:process signal; }:process signal;
# Connect to tombstoned to intercept dumps. # Connect to tombstoned to intercept dumps.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment