postinstall_dexopt: allow reading odsign.verification.status
Allows dexopt to read odsign verification status and use on-device
generated artifacts when dexopting after an OTA.
(cherry pick from change 5fcce9ded3
)
Bug: 194069492
Ignore-AOSP-First: cherry pick of https://r.android.com/1771328
Test: manually apply ota, see no denials for reading property
Merged-In: I97acfc17ffd9291d1a81906c75039f01624dff0f
Change-Id: I05453570add7365e1c094d3ea316d53d7c52023a
This commit is contained in:
parent
6f9b65aac7
commit
07cafca82a
2 changed files with 6 additions and 0 deletions
|
@ -32,6 +32,9 @@ allow postinstall_dexopt rootfs:file r_file_perms;
|
|||
|
||||
allow postinstall_dexopt tmpfs:file read;
|
||||
|
||||
# Allow access odsign verification status
|
||||
get_prop(postinstall_dexopt, odsign_prop)
|
||||
|
||||
# Allow access to /postinstall/apex.
|
||||
allow postinstall_dexopt postinstall_apex_mnt_dir:dir { getattr search };
|
||||
|
||||
|
|
|
@ -32,6 +32,9 @@ allow postinstall_dexopt rootfs:file r_file_perms;
|
|||
|
||||
allow postinstall_dexopt tmpfs:file read;
|
||||
|
||||
# Allow access odsign verification status
|
||||
get_prop(postinstall_dexopt, odsign_prop)
|
||||
|
||||
# Allow access to /postinstall/apex.
|
||||
allow postinstall_dexopt postinstall_apex_mnt_dir:dir { getattr search };
|
||||
|
||||
|
|
Loading…
Reference in a new issue