Using dontaudit to fix the avc on boot test
[ 1.950092] audit: type=1400 audit(1641787406.988:2): avc: denied { search } for pid=49 comm="kworker/7:0" name="google_battery" dev="debugfs" ino=36095 scontext=u:r:kernel:s0 tcontext=u:object_r:vendor_battery_debugfs:s0 tclass=dir permissive=1 Bug: 213817227 Test: check bugreport Change-Id: Ia056856476a17feb40c20c21cf1515e0feddfc17 Signed-off-by: Ted Lin <tedlin@google.com>
This commit is contained in:
parent
6733f9667d
commit
9748ae74c2
1 changed files with 2 additions and 0 deletions
|
@ -7,3 +7,5 @@ allow kernel per_boot_file:file r_file_perms;
|
|||
# memlat needs permision to create/delete perf events when hotplug on/off
|
||||
allow kernel self:capability2 perfmon;
|
||||
allow kernel self:perf_event cpu;
|
||||
|
||||
dontaudit kernel vendor_battery_debugfs:dir search;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue