android_device_oneplus_dre/sepolicy/private/init.te
LuK1337 a0d9c9cb9d sm8250-common: Disable /odm overlays
* We don't want OnePlus overlays, instead we'll just
  modify required modules manually.
2020-11-23 15:10:40 +01:00

15 lines
401 B
Text

# Allow init to mount vendor configs
allow init vendor_configs_file:dir mounton;
# Allow init to mount vendor overlays
allow init vendor_overlay_file:dir mounton;
# Allow init to chown/chmod on pseudo files in /sys
allow init {
sysfs_fod
sysfs_fpc_proximity
sysfs_graphics
}:file { open read setattr };
# Allow init to write to otg_switch
allow init sysfs_usb_supply:file w_file_perms;