07-31 05:35:39.208 885 885 W binder:885_5: type=1400 audit(0.0:125): avc: denied { read } for name="firmware" dev="dm-7" ino=48 scontext=u:r:kernel:s0 tcontext=u:object_r:vendor_fw_file:s0 tclass=dir Fix: 356530883 Flag: EXEMPT bugfix Change-Id: I1bb8fcfc952c69c991fd978a617eb92558817267
18 lines
610 B
Text
18 lines
610 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;
|
|
|
|
userdebug_or_eng(`
|
|
allow kernel vendor_battery_debugfs:dir search;
|
|
allow kernel vendor_regmap_debugfs:dir search;
|
|
allow kernel vendor_usb_debugfs:dir search;
|
|
allow kernel vendor_votable_debugfs:dir search;
|
|
allow kernel vendor_charger_debugfs:dir search;
|
|
allow kernel vendor_maxfg_debugfs:dir search;
|
|
')
|