move modem dump to gs-common

Bug: 250475732
Test: adb bugreport
Change-Id: Id6dc2ef02d5e32b71de1b618e5588c202a2b6243
This commit is contained in:
Adam Shih 2022-10-05 10:30:48 +08:00
parent cf7266088f
commit e301fa20c6
5 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,10 @@
pixel_bugreport(dump_modem)
allow dump_modem modem_stat_data_file:dir search;
allow dump_modem modem_stat_data_file:file r_file_perms;
allow dump_modem sscoredump_vendor_data_crashinfo_file:dir r_dir_perms;
allow dump_modem sscoredump_vendor_data_crashinfo_file:file r_file_perms;
allow dump_modem vendor_log_file:dir search;
allow dump_modem vendor_rfsd_log_file:dir r_dir_perms;
allow dump_modem vendor_rfsd_log_file:file r_file_perms;
allow dump_modem vendor_toolbox_exec:file execute_no_trans;

View file

@ -0,0 +1 @@
/vendor/bin/dump/dump_modem\.sh u:object_r:dump_modem_exec:s0