Skip to content
Snippets Groups Projects
Commit a77068b3 authored by Geremy Condra's avatar Geremy Condra Committed by The Android Automerger
Browse files

Switch installd to use r_dir_perms for download_file dirs.

This fixes an issue in which installd can't open download
file dirs.

Bug: 10710450
Change-Id: I1dd08188a88428143c4bb914e872175dc3755597
parent e7e42f03
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@ 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 { read getattr };
allow installd download_file:dir { r_dir_perms };
dontaudit installd self:capability sys_admin;
# Check validity of SELinux context before use.
selinux_check_context(installd)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment