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