sepolicy: allow hal_power_stats to read GPS files
avc: denied { search } for name="gps" dev="dm-46" ino=373
scontext=u:r:hal_power_stats_default:s0
tcontext=u:object_r:vendor_gps_file:s0 tclass=dir permissive=0
Bug: 289764363
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Ie362e06c51c87c34c11551d3b13278d21c7222fc
Signed-off-by: Darren Hsu <darrenhsu@google.com>
This commit is contained in:
1
vendor/hal_power_stats_default.te
vendored
Normal file
1
vendor/hal_power_stats_default.te
vendored
Normal file
@@ -0,0 +1 @@
|
||||
r_dir_file(hal_power_stats_default, vendor_gps_file)
|
||||
Reference in New Issue
Block a user