Merge "Allow apexd to write to /metadata/sepolicy" am: 306fca99db
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/1965103 Change-Id: I1aecfb46a194d837c62ac3ad14f84f03f5920a9b
This commit is contained in:
commit
d20a77319a
1 changed files with 4 additions and 0 deletions
|
@ -13,6 +13,10 @@ allow apexd metadata_file:dir search;
|
|||
allow apexd apex_metadata_file:dir create_dir_perms;
|
||||
allow apexd apex_metadata_file:file create_file_perms;
|
||||
|
||||
# Allow creating and writing APEX files/dirs in the SEPolicy metadata dir
|
||||
allow apexd sepolicy_metadata_file:dir create_dir_perms;
|
||||
allow apexd sepolicy_metadata_file:file create_file_perms;
|
||||
|
||||
# Allow reserving space on /data/apex/ota_reserved for apex decompression
|
||||
allow apexd apex_ota_reserved_file:dir create_dir_perms;
|
||||
allow apexd apex_ota_reserved_file:file create_file_perms;
|
||||
|
|
Loading…
Reference in a new issue