device_lenovo_sdm710-common/sepolicy/vendor/init.te
DennySPb 14f08dc1fe
Initial selinux policies
* convert existing one to vendor
2021-07-16 17:54:51 +02:00

13 lines
341 B
Text

# Allow init to mount wlan kernel module
allow init 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_type:file { open read setattr };
# Allow init create cgroups
allow init cgroup:file create;
permissive init;