From c754b990a0aa07bac16f11d2ad790d05d3be9f00 Mon Sep 17 00:00:00 2001 From: Josh Gao <jmgao@google.com> Date: Thu, 3 May 2018 13:14:25 -0700 Subject: [PATCH] Update sepolicy prebuilts for tombstoned. Bug: http://b/77729983 Test: treehugger Change-Id: Ic8ce31396e5cad2e9b1f7aab2ace2f6c8e962d6d --- prebuilts/api/28.0/public/tombstoned.te | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prebuilts/api/28.0/public/tombstoned.te b/prebuilts/api/28.0/public/tombstoned.te index 1dfcf504f..0e585b662 100644 --- a/prebuilts/api/28.0/public/tombstoned.te +++ b/prebuilts/api/28.0/public/tombstoned.te @@ -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 }; -- GitLab