summaryrefslogtreecommitdiff
path: root/sepolicy/init.te
blob: 30d62930150274b49e80178e7ae960d7307c2a42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
allow init tmpfs:lnk_file { create };
allow init nativetest_data_file:dir { getattr open read };
allow init hi_system_block_device:blk_file { relabelfrom relabelto create setattr };
allow init hi_vendor_block_device:blk_file { relabelfrom relabelto create setattr };
allow init hi_cache_block_device:blk_file { relabelfrom relabelto create setattr };
allow init hi_userdata_block_device:blk_file { relabelfrom relabelto create setattr };
allow init nativetest_data_file:file { getattr };
allow init proc_hisi:file { open setattr write };
allow init debugfs:file { write };
allow init sysfs:file { setattr };
allow init self:capability { sys_module };
allow init proc_slabinfo:file { setattr };