Allow apexd to enable fsverity on /metadata am: 6446490287
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/1979766 Change-Id: I8bed12a4fe8145d50edf9b2425f1bf97d3b21772
This commit is contained in:
commit
6bfe9b9115
1 changed files with 4 additions and 0 deletions
|
@ -16,6 +16,10 @@ 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 apexd to setup fs-verity for SEPolicy files in metadata
|
||||
allowxperm apexd sepolicy_metadata_file:file ioctl {
|
||||
FS_IOC_ENABLE_VERITY FS_IOC_MEASURE_VERITY
|
||||
};
|
||||
|
||||
# Allow reserving space on /data/apex/ota_reserved for apex decompression
|
||||
allow apexd apex_ota_reserved_file:dir create_dir_perms;
|
||||
|
|
Loading…
Reference in a new issue