sepolicy: allow pixelstats to access maxfg_history
to dump secondary battery history for dual battery projects: avc: denied { read } for name="maxfg_history" dev="tmpfs" ino=1127 scontext=u:r:pixelstats_vendor:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=0 Bug: 333952062 Change-Id: I072db3adff63c63ebbb5b1ba4dabfccfe3d6adac Signed-off-by: Jenny Ho <hsiufangho@google.com>
This commit is contained in:
parent
bab1ea9e7b
commit
b078a0eeca
1 changed files with 1 additions and 0 deletions
1
vendor/file_contexts
vendored
1
vendor/file_contexts
vendored
|
@ -79,6 +79,7 @@
|
|||
/dev/sys/block/bootdevice(/.*)? u:object_r:bootdevice_sysdev:s0
|
||||
/dev/socket/chre u:object_r:chre_socket:s0
|
||||
/dev/battery_history u:object_r:battery_history_device:s0
|
||||
/dev/maxfg_history u:object_r:battery_history_device:s0
|
||||
/dev/bbd_pwrstat u:object_r:power_stats_device:s0
|
||||
/dev/edgetpu-soc u:object_r:edgetpu_device:s0
|
||||
/dev/block/sda u:object_r:sda_block_device:s0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue