Skip to content
Snippets Groups Projects
Commit f15f087c authored by Jiyong Park's avatar Jiyong Park Committed by android-build-merger
Browse files

Merge "Allow apexd to label apk_tmp_file to apex_data_file" am: cc18ba70 am: d23d3392

am: 0abebec4

Change-Id: I8ff1727e4c85ae956491338606b3a563cb3a927a
parents c30f69e8 0abebec4
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