Expand deletion powers to all "sdcard_type".

am: 653d0f1f57

Change-Id: I27a897ffe75dc58e8323be41a4aa45db8cece757
This commit is contained in:
Jeff Sharkey 2019-05-14 19:06:50 -07:00 committed by android-build-merger
commit 1e4563c13e

View file

@ -67,8 +67,8 @@ allow installd media_rw_data_file:dir relabelto;
# Delete /data/media files through sdcardfs, instead of going behind its back
allow installd tmpfs:dir r_dir_perms;
allow installd storage_file:dir search;
allow installd sdcardfs:dir { search open read write remove_name getattr rmdir };
allow installd sdcardfs:file { getattr unlink };
allow installd sdcard_type:dir { search open read write remove_name getattr rmdir };
allow installd sdcard_type:file { getattr unlink };
# Upgrade /data/misc/keychain for multi-user if necessary.
allow installd misc_user_data_file:dir create_dir_perms;