blob: 10bf57323932c18f61ec0d456b9d7e2869955dfd [file] [log] [blame]
allow init configfs:lnk_file create;
allow init configfs:file w_file_perms;
allow init debugfs_clk:file w_file_perms;
allow init tty_device:chr_file rw_file_perms;
# TODO: continue to fix treble violation (b/112444108)
allow init mnt_vendor_file:dir mounton;
allow init vendor_firmware_file:dir mounton;
allow init vendor_firmware_file:filesystem { relabelto relabelfrom mount getattr };
allow init ab_block_device:lnk_file relabelto;
allow init boot_block_device:lnk_file relabelto;
allow init persist_block_device:lnk_file relabelto;
dontaudit init kernel:system module_request;
# b/70518189 vDSO experiments
allow init sysfs_vdso:file w_file_perms;
allow init sysfs_poweroff:file w_file_perms;
# b/72993533 Thermal mitigation in recovery mode
allow init sysfs_thermal:file w_file_perms;
# b/225082034
allow init sysfs_mmc:file w_file_perms;