Merge "system_server: read symlinks in /cache"

am: 825173e3c2

Change-Id: Ic7acb327cf684e6b82b1d40b408c039e02c0a7fd
This commit is contained in:
Jeff Vander Stoep 2017-07-26 19:19:45 +00:00 committed by android-build-merger
commit 3d765cfd08

View file

@ -486,6 +486,7 @@ set_prop(system_server, firstboot_prop)
allow system_server system_ndebug_socket:sock_file create_file_perms;
# Manage cache files.
allow system_server cache_file:lnk_file r_file_perms;
allow system_server { cache_file cache_recovery_file }:dir { relabelfrom create_dir_perms };
allow system_server { cache_file cache_recovery_file }:file { relabelfrom create_file_perms };
allow system_server { cache_file cache_recovery_file }:fifo_file create_file_perms;