# symlink /sdcard to backing block
allow init tmpfs:lnk_file create;
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 };

allow init ab_block_device:lnk_file relabelto;
allow init boot_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;