summaryrefslogtreecommitdiff
path: root/vendor/qcom/common/init.te
blob: bb6fa584bbca9d8bf21df920bb9288f2b7730123 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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;