sepolicy: add permission for dump_power
avc: denied { read } for name="maxfg_history" dev="tmpfs" ino=1144 scontext=u:r:dump_power:s0 tcontext=u:object_r:battery_history_device:s0 tclass=chr_file permissive=0 Bug: 353418158 Test: atest-dev com.google.android.selinux.pts.SELinuxTest#scanBugreport => PASS Flag: EXEMPT bugfix Change-Id: Ie14081f5614c0667e47b474f11198cd633971326 Signed-off-by: Spade Lee <spadelee@google.com>
This commit is contained in:
parent
52ec1e039e
commit
00dfece0e4
1 changed files with 1 additions and 0 deletions
1
vendor/dump_power.te
vendored
Normal file
1
vendor/dump_power.te
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
allow dump_power battery_history_device:chr_file r_file_perms;
|
Loading…
Add table
Add a link
Reference in a new issue