Merge "Allow vold to rename system_data_file directories" am: 8b703551d8 am: 0038d8f822

Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2619901

Change-Id: I204d08a73a9a7ca81f042da54bedfa5ee532c77b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Eric Biggers 2023-06-13 23:21:12 +00:00 committed by Automerger Merge Worker
commit 122d3f0d20

View file

@ -177,10 +177,13 @@ allow vold fscklogs:file create_file_perms;
allow vold labeledfs:filesystem { mount unmount remount };
# Create and mount on /data/tmp_mnt and management of expansion mounts
#
# Also rename per-user encrypted directories such as /data/user/10 from their
# temporary name ("10.new") to their final name ("10").
allow vold {
system_data_file
system_data_root_file
}:dir { create rw_dir_perms mounton setattr rmdir };
}:dir { create_dir_perms mounton };
allow vold system_data_file:lnk_file getattr;
# Vold create users in /data/vendor_{ce,de}/[0-9]+