sepolicy: hal_health_default: fix avc denied logs
avc: denied { search } for comm="health@2.1-serv" name="/" dev="sda1" ino=3 scontext=u:r:hal_health_default:s0 tcontext=u:object_r:persist_file:s0 tclass=dir permissive=1 avc: denied { search } for name="/" dev="sda1" ino=3 scontext=u:r:hal_health_default:s0 tcontext=u:object_r:persist_file:s0 tclass=dir permissive=1 avc: denied { search } for name="vendor" dev="tmpfs" ino=2 scontext=u:r:hal_health_default:s0 tcontext=u:object_r:mnt_vendor_file:s0 tclass=dir permissive=1 avc: denied { search } for comm="health@2.1-serv" name="vendor" dev="tmpfs" ino=2 scontext=u:r:hal_health_default:s0 tcontext=u:object_r:mnt_vendor_file:s0 tclass=dir permissive=1 Bug: 205779737 Test: local build pass Change-Id: I2be76d97e35bff4e22075641b9031872d628e980 Signed-off-by: Leo Liou <leoliou@google.com>
This commit is contained in:
parent
1053cee419
commit
8423a70e12
2 changed files with 3 additions and 3 deletions
|
@ -1,3 +0,0 @@
|
||||||
# b/205779737
|
|
||||||
dontaudit hal_health_default mnt_vendor_file:dir { search };
|
|
||||||
dontaudit hal_health_default persist_file:dir { search };
|
|
|
@ -1 +1,4 @@
|
||||||
|
allow hal_health_default mnt_vendor_file:dir search;
|
||||||
|
allow hal_health_default persist_file:dir search;
|
||||||
|
|
||||||
set_prop(hal_health_default, vendor_battery_defender_prop)
|
set_prop(hal_health_default, vendor_battery_defender_prop)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue