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: I3a8e2290e97967c02453eadff440d8bbeefa31b1
26 lines
882 B
Text
26 lines
882 B
Text
allow kernel vendor_fw_file:dir r_dir_perms;
|
|
allow kernel vendor_fw_file:file r_file_perms;
|
|
|
|
# ZRam
|
|
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;
|
|
|
|
no_debugfs_restriction(`
|
|
allow kernel vendor_battery_debugfs:dir search;
|
|
')
|
|
|
|
dontaudit kernel vendor_maxfg_debugfs:dir search;
|
|
dontaudit kernel sepolicy_file:file getattr;
|
|
dontaudit kernel system_bootstrap_lib_file:dir getattr;
|
|
dontaudit kernel system_bootstrap_lib_file:file getattr;
|
|
dontaudit kernel system_dlkm_file:dir getattr;
|
|
dontaudit kernel vendor_battery_debugfs:dir search;
|
|
dontaudit kernel vendor_charger_debugfs:dir search;
|
|
dontaudit kernel vendor_votable_debugfs:dir search;
|
|
dontaudit kernel vendor_usb_debugfs:dir search;
|
|
|
|
allow kernel vendor_regmap_debugfs:dir search;
|
|
|