Skip to content
Snippets Groups Projects
Commit cc18ba70 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Allow apexd to label apk_tmp_file to apex_data_file"

parents 647d9163 ce15e5e5
No related branches found
No related tags found
No related merge requests found
...@@ -40,6 +40,11 @@ allow apexd apex_mnt_dir:dir mounton; ...@@ -40,6 +40,11 @@ allow apexd apex_mnt_dir:dir mounton;
# allow apexd to create symlinks in /apex # allow apexd to create symlinks in /apex
allow apexd apex_mnt_dir:lnk_file create_file_perms; allow apexd apex_mnt_dir:lnk_file create_file_perms;
# allow apexd to relabel apk_tmp_file to apex_data_file.
# TODO(b/112669193) remove this when APEXes are staged via file descriptor
allow apexd apk_tmp_file:file relabelfrom;
allow apexd apex_data_file:file relabelto;
# Unmount and mount filesystems # Unmount and mount filesystems
allow apexd labeledfs:filesystem { mount unmount }; allow apexd labeledfs:filesystem { mount unmount };
......
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