sepolicy: add smart_idle_maint_enabled_prop for pixelstats
pixelstats get this sysprop hit the avc denied persist.device_config.storage_native_boot.smart_idle_maint_enabled pixelstats-vend: type=1400 audit(0.0:22): avc: denied { read } for name="u:object_r:device_config_storage_native_boot_prop:s0" dev="tmpfs" ino=171 scontext=u:r:pixelstats_vendor:s0 tcontext=u:object_r:device_config_storage_native_boot_prop:s0 tclass=file permissive=0 Bug: 215443809 Test: local build and run pixelstats Signed-off-by: Ocean Chen <oceanchen@google.com> Change-Id: Iedb4fa00c5e18cda6c799c3461bf8298bcf357eb
This commit is contained in:
parent
8e9be24a81
commit
b36cf348d0
1 changed files with 3 additions and 0 deletions
|
@ -9,3 +9,6 @@ allow pixelstats_vendor sysfs_wlc:file rw_file_perms;
|
|||
|
||||
# Batery history
|
||||
allow pixelstats_vendor battery_history_device:chr_file r_file_perms;
|
||||
|
||||
# storage smart idle maintenance
|
||||
get_prop(pixelstats_vendor, smart_idle_maint_enabled_prop);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue