android_device_oneplus_dre/sepolicy/private/init.te
LuK1337 60d417a52f sdm845-common: Start using vendor_overlay
* This lets us override files in /vendor without
  relying on bind mounts ^.^

Change-Id: Ib0b173682a48836aeac97e2c3691176a44f13aab
2019-09-29 14:29:37 +02:00

11 lines
315 B
Text

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