Merge changes from topic "tombstoned_empty" into pi-dev

* changes:
  Update sepolicy prebuilts for tombstoned.
  tombstoned: allow linking tombstones.
This commit is contained in:
Josh Gao 2018-05-04 21:37:22 +00:00 committed by Android (Google) Code Review
commit d018b5ce2c
2 changed files with 4 additions and 4 deletions

View file

@ -9,7 +9,7 @@ allow tombstoned domain:fifo_file write;
allow tombstoned domain:dir r_dir_perms;
allow tombstoned domain:file r_file_perms;
allow tombstoned tombstone_data_file:dir rw_dir_perms;
allow tombstoned tombstone_data_file:file create_file_perms;
allow tombstoned tombstone_data_file:file { create_file_perms link };
# TODO: Remove append / write permissions. They were temporarily
# granted due to a bug which appears to have been fixed.
@ -19,4 +19,4 @@ auditallow tombstoned anr_data_file:file { append write };
# Changes for the new stack dumping mechanism. Each trace goes into a
# separate file, and these files are managed by tombstoned.
allow tombstoned anr_data_file:dir rw_dir_perms;
allow tombstoned anr_data_file:file { create getattr open unlink };
allow tombstoned anr_data_file:file { create getattr open link unlink };

View file

@ -9,7 +9,7 @@ allow tombstoned domain:fifo_file write;
allow tombstoned domain:dir r_dir_perms;
allow tombstoned domain:file r_file_perms;
allow tombstoned tombstone_data_file:dir rw_dir_perms;
allow tombstoned tombstone_data_file:file create_file_perms;
allow tombstoned tombstone_data_file:file { create_file_perms link };
# TODO: Remove append / write permissions. They were temporarily
# granted due to a bug which appears to have been fixed.
@ -19,4 +19,4 @@ auditallow tombstoned anr_data_file:file { append write };
# Changes for the new stack dumping mechanism. Each trace goes into a
# separate file, and these files are managed by tombstoned.
allow tombstoned anr_data_file:dir rw_dir_perms;
allow tombstoned anr_data_file:file { create getattr open unlink };
allow tombstoned anr_data_file:file { create getattr open link unlink };