This repository has been archived on 2025-09-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
device_oneplus_avicii-ancient/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

16 lines
401 B
Plaintext

# 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;