Suppress avc error log on debugfs's usb folder.

The XHCI driver in kernel will write debugging information to DebugFS on
some USB host operations (for example: plugging in a USB headphone). We
are not using those information right now.

Bug: 311088739
Test: No error when plugging a USB headphone in.
Change-Id: If7c511f4466959d819f2672ae8f82a8a8dae83e4
This commit is contained in:
Khoa Hong 2023-11-30 15:01:37 +08:00
parent ec6ba5806d
commit 213b76e9b8

View file

@ -11,3 +11,4 @@ allow kernel self:perf_event cpu;
dontaudit kernel vendor_battery_debugfs:dir search; dontaudit kernel vendor_battery_debugfs:dir search;
dontaudit kernel vendor_maxfg_debugfs:dir { search }; dontaudit kernel vendor_maxfg_debugfs:dir { search };
dontaudit kernel vendor_votable_debugfs:dir { search }; dontaudit kernel vendor_votable_debugfs:dir { search };
dontaudit kernel vendor_usb_debugfs:dir search;