Merge "Fix installd not having permission to delete storage area keys" into main am: 19208cb0e3
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/3095417 Change-Id: I5714bd938eaa91bfe8e96d13bd407bf2973163f1 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
96da6272a8
1 changed files with 4 additions and 1 deletions
|
@ -227,7 +227,10 @@ allow installd vold:fd use;
|
||||||
|
|
||||||
# on app uninstall, installd deletes the storage area keys for the app
|
# on app uninstall, installd deletes the storage area keys for the app
|
||||||
is_flag_enabled(RELEASE_UNLOCKED_STORAGE_API, `
|
is_flag_enabled(RELEASE_UNLOCKED_STORAGE_API, `
|
||||||
allow installd storage_area_key_file:dir { open search write remove_name lock read };
|
allow installd storage_area_key_file:dir {
|
||||||
|
open search write remove_name
|
||||||
|
lock read getattr rmdir
|
||||||
|
};
|
||||||
allow installd storage_area_key_file:file unlink;
|
allow installd storage_area_key_file:file unlink;
|
||||||
')
|
')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue