suppress bootanim android watch behavior on phones

Bug: 205780088
Test: boot with no relevant error log
Change-Id: Ic928d3212a016984ff31f358486109022d82b1ee
This commit is contained in:
Adam Shih 2021-11-16 11:02:46 +08:00
parent af53f729cf
commit 32db046e67
2 changed files with 5 additions and 9 deletions

View file

@ -1,9 +0,0 @@
# b/205780088
dontaudit bootanim system_data_file:dir { read };
dontaudit bootanim system_data_file:dir { search };
dontaudit bootanim system_data_file:dir { watch };
dontaudit bootanim vendor_file:file { execute };
dontaudit bootanim vendor_file:file { getattr };
dontaudit bootanim vendor_file:file { map };
dontaudit bootanim vendor_file:file { open };
dontaudit bootanim vendor_file:file { read };

View file

@ -0,0 +1,5 @@
# TODO(b/62954877). On Android Wear, bootanim reads the time
# during boot to display. It currently gets that time from a file
# in /data/system. This should be moved. In the meantime, suppress
# this denial on phones since this functionality is not used.
dontaudit bootanim system_data_file:dir r_dir_perms;