Adam Shih f3105ca062 add missing dumpstate permission
Bug: 247097496
Test: adb bugreport
Change-Id: Icccfe2c4610ae3a9e77d1ad2c17d828e2e860f1b
2022-09-19 10:52:52 +08:00

13 lines
499 B
Plaintext

type dump_gsc, domain;
type dump_gsc_exec, exec_type, vendor_file_type, file_type;
domain_auto_trans(hal_dumpstate_default, dump_gsc_exec, dump_gsc)
hal_client_domain(dump_gsc, hal_dumpstate)
allow dump_gsc dumpstate:fd use;
allow dump_gsc dumpstate:fifo_file { write getattr };
allow dump_gsc shell_data_file:file { write getattr };
allow dump_gsc citadel_updater:file execute_no_trans;
allow dump_gsc citadeld_service:service_manager find;
binder_call(dump_gsc, citadeld)
vndbinder_use(dump_gsc)