Merge "Adding permissions needed to remove cache"

This commit is contained in:
Nick Kralevich 2014-01-08 01:00:24 +00:00 committed by Gerrit Code Review
commit fa4002fc7f

View file

@ -16,8 +16,8 @@ allow installd apk_data_file:file r_file_perms;
allow installd apk_tmp_file:file r_file_perms;
allow installd system_file:file x_file_perms;
allow installd cgroup:dir create_dir_perms;
allow installd download_file:dir { r_dir_perms };
allow installd download_file:file { r_file_perms };
allow installd download_file:dir { r_dir_perms write remove_name };
allow installd download_file:file { r_file_perms unlink };
dontaudit installd self:capability sys_admin;
# Check validity of SELinux context before use.
selinux_check_context(installd)