hal_health_default: Fix avc denials am: 522a8aefcf
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/13816038 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I543f53ff53fd1db6d12c66683c956ff21a7f5da8
This commit is contained in:
commit
b10c77244b
2 changed files with 7 additions and 15 deletions
|
@ -1,15 +0,0 @@
|
||||||
# b/177966434
|
|
||||||
dontaudit hal_health_default sysfs_wlc:dir { search };
|
|
||||||
# b/181177925
|
|
||||||
dontaudit hal_health_default thermal_link_device:dir { search };
|
|
||||||
dontaudit hal_health_default sysfs_thermal:file { open };
|
|
||||||
dontaudit hal_health_default sysfs_thermal:file { write };
|
|
||||||
dontaudit hal_health_default sysfs_thermal:lnk_file { read };
|
|
||||||
dontaudit hal_health_default sysfs_thermal:dir { search };
|
|
||||||
dontaudit hal_health_default sysfs_thermal:file { write };
|
|
||||||
dontaudit hal_health_default sysfs_thermal:file { open };
|
|
||||||
dontaudit hal_health_default sysfs_batteryinfo:file { write };
|
|
||||||
dontaudit hal_health_default sysfs_thermal:dir { search };
|
|
||||||
dontaudit hal_health_default thermal_link_device:dir { search };
|
|
||||||
dontaudit hal_health_default sysfs_batteryinfo:file { write };
|
|
||||||
dontaudit hal_health_default sysfs_thermal:lnk_file { read };
|
|
|
@ -5,3 +5,10 @@ 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_battery_defender_prop)
|
||||||
r_dir_file(hal_health_default, sysfs_scsi_devices_0000)
|
r_dir_file(hal_health_default, sysfs_scsi_devices_0000)
|
||||||
|
|
||||||
|
allow hal_health_default sysfs_wlc:dir search;
|
||||||
|
allow hal_health_default sysfs_batteryinfo:file w_file_perms;
|
||||||
|
allow hal_health_default sysfs_thermal:dir search;
|
||||||
|
allow hal_health_default sysfs_thermal:file w_file_perms;
|
||||||
|
allow hal_health_default sysfs_thermal:lnk_file read;
|
||||||
|
allow hal_health_default thermal_link_device:dir search;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue