pixelstats_vendor: add logbuffer_device r_file_perms
avc: denied { read } for name="logbuffer_maxfg_monitor" dev="tmpfs" ino=1034 scontext=u:r:pixelstats_vendor:s0 tcontext=u:object_r:logbuffer_device:s0 tclass=chr_file permissive=0 Bug: 329174074 Test: no denied log, and able to read logbuffer in pixelstats_vendor Change-Id: Ieca53f3092355c72784d4216c138cbb7cc9c7fa4 Signed-off-by: Spade Lee <spadelee@google.com>
This commit is contained in:
parent
c2eee26906
commit
3f707d13c2
1 changed files with 1 additions and 0 deletions
1
vendor/pixelstats_vendor.te
vendored
1
vendor/pixelstats_vendor.te
vendored
|
@ -1,5 +1,6 @@
|
||||||
# Battery history
|
# Battery history
|
||||||
allow pixelstats_vendor battery_history_device:chr_file r_file_perms;
|
allow pixelstats_vendor battery_history_device:chr_file r_file_perms;
|
||||||
|
allow pixelstats_vendor logbuffer_device:chr_file r_file_perms;
|
||||||
|
|
||||||
# BCL
|
# BCL
|
||||||
allow pixelstats_vendor sysfs_bcl:dir search;
|
allow pixelstats_vendor sysfs_bcl:dir search;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue