Merge "Grant dumpstate access to artd service" into main

This commit is contained in:
Thiébaud Weksteen 2023-08-29 23:20:27 +00:00 committed by Gerrit Code Review
commit 9432227844
2 changed files with 3 additions and 2 deletions

View file

@ -8,6 +8,7 @@ type artd_tmpfs, file_type;
binder_use(artd)
add_service(artd, artd_service)
allow artd dumpstate:fifo_file { getattr write };
allow artd dumpstate:fd use;
init_daemon_domain(artd)

View file

@ -146,7 +146,7 @@ r_dir_file(dumpstate, cgroup_v2)
# Allow dumpstate to make binder calls to any binder service
binder_call(dumpstate, binderservicedomain)
binder_call(dumpstate, { appdomain netd wificond })
binder_call(dumpstate, { appdomain artd netd wificond })
# Allow dumpstate to call dump() on specific hals.
dump_hal(hal_audio)