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: I3e13d117ca6eb9c31c3eb67be87fcea684817911
Signed-off-by: Chien Kun Niu <rickyniu@google.com>
This commit is contained in:
Chien Kun Niu 2023-12-06 14:22:03 +08:00
parent df5d3cf62d
commit 7bb1437142

1
vendor/kernel.te vendored Normal file
View file

@ -0,0 +1 @@
dontaudit kernel vendor_usb_debugfs:dir search;