android_device_oneplus_dre/sepolicy/private/init.te

12 lines
315 B
Text
Raw Normal View History

# Allow init to mount wlan kernel module
allow init { system_file vendor_file }:file mounton;
# Allow init to mount vendor configs
allow init vendor_configs_file:dir mounton;
# Allow init to chown/chmod on pseudo files in /sys
allow init {
sysfs_fpc_proximity
sysfs_graphics
}:file { open read setattr };