Allow fastbootd set boottime property

Bug: 264489957
Test: flash and no related avc error
Change-Id: Ia9a6d4918aa78e6b3e7df39496d786921192c8af
Signed-off-by: Wilson Sung <wilsonsung@google.com>
This commit is contained in:
Wilson Sung 2023-04-28 10:57:28 +08:00
parent 6c6f53b1a8
commit a296496996

View file

@ -42,6 +42,7 @@ recovery_only(`
# Mount /metadata to interact with Virtual A/B snapshots. # Mount /metadata to interact with Virtual A/B snapshots.
allow fastbootd labeledfs:filesystem { mount unmount }; allow fastbootd labeledfs:filesystem { mount unmount };
set_prop(fastbootd, boottime_prop)
# Needed for reading boot properties. # Needed for reading boot properties.
allow fastbootd proc_bootconfig:file r_file_perms; allow fastbootd proc_bootconfig:file r_file_perms;