msg='avc: denied { set } for property=persist.vendor.shutdown.voltage_avg pid=908 uid=1000 gid=1000 scontext=u:r:hal_health_default:s0 tcontext=u:object_r:vendor_default_prop:s0 tclass=property_service permissive=0' Bug: 266181615 Change-Id: Ia87610f0363bbfbe4fe446244b44818c273841f4 Signed-off-by: Ken Tsou <kentsou@google.com>
16 lines
709 B
Text
16 lines
709 B
Text
allow hal_health_default mnt_vendor_file:dir search;
|
|
allow hal_health_default persist_file:dir search;
|
|
allow hal_health_default persist_battery_file:file create_file_perms;
|
|
allow hal_health_default persist_battery_file:dir rw_dir_perms;
|
|
|
|
set_prop(hal_health_default, vendor_battery_defender_prop)
|
|
set_prop(hal_health_default, vendor_shutdown_prop)
|
|
|
|
allow hal_health_default fwk_stats_service:service_manager find;
|
|
|
|
# Access to /sys/devices/platform/13200000.ufs/*
|
|
allow hal_health_default sysfs_scsi_devices_0000:dir r_dir_perms;
|
|
allow hal_health_default sysfs_scsi_devices_0000:file rw_file_perms;
|
|
|
|
allow hal_health_default sysfs_wlc:dir search;
|
|
allow hal_health_default sysfs_batteryinfo:file w_file_perms;
|