Add perfmon policies to fix hotplug issues. Bug: 271024526 Bug: 271007431 Change-Id: I974bd99224b983454c6af47f4a08a4fe20699834 Signed-off-by: Jonglin Lee <jonglin@google.com>
13 lines
368 B
Text
13 lines
368 B
Text
allow kernel vendor_fw_file:dir search;
|
|
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;
|
|
')
|