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 Signed-off-by: Spade Lee <spadelee@google.com> (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:3f707d13c29300fab31a1ba6a8657771ba4946a8) Merged-In: Ieca53f3092355c72784d4216c138cbb7cc9c7fa4 Change-Id: Ieca53f3092355c72784d4216c138cbb7cc9c7fa4
This commit is contained in:
parent
41c22587a2
commit
52df1a478b
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