xref: /aosp_15_r20/system/sepolicy/prebuilts/api/30.0/public/tombstoned.te (revision e4a36f4174b17bbab9dc043f4a65dc8d87377290)
1*e4a36f41SAndroid Build Coastguard Worker# debugger interface
2*e4a36f41SAndroid Build Coastguard Workertype tombstoned, domain, mlstrustedsubject;
3*e4a36f41SAndroid Build Coastguard Workertype tombstoned_exec, system_file_type, exec_type, file_type;
4*e4a36f41SAndroid Build Coastguard Worker
5*e4a36f41SAndroid Build Coastguard Worker# Write to arbitrary pipes given to us.
6*e4a36f41SAndroid Build Coastguard Workerallow tombstoned domain:fd use;
7*e4a36f41SAndroid Build Coastguard Workerallow tombstoned domain:fifo_file write;
8*e4a36f41SAndroid Build Coastguard Worker
9*e4a36f41SAndroid Build Coastguard Workerallow tombstoned domain:dir r_dir_perms;
10*e4a36f41SAndroid Build Coastguard Workerallow tombstoned domain:file r_file_perms;
11*e4a36f41SAndroid Build Coastguard Workerallow tombstoned tombstone_data_file:dir rw_dir_perms;
12*e4a36f41SAndroid Build Coastguard Workerallow tombstoned tombstone_data_file:file { create_file_perms link };
13*e4a36f41SAndroid Build Coastguard Worker
14*e4a36f41SAndroid Build Coastguard Worker# Changes for the new stack dumping mechanism. Each trace goes into a
15*e4a36f41SAndroid Build Coastguard Worker# separate file, and these files are managed by tombstoned.
16*e4a36f41SAndroid Build Coastguard Workerallow tombstoned anr_data_file:dir rw_dir_perms;
17*e4a36f41SAndroid Build Coastguard Workerallow tombstoned anr_data_file:file { append create getattr open link unlink };
18