sdm845-common: Load qcacld from system

* This will implicitly add every kernel module to system

Change-Id: I1fb827536a7cd6cb0d46c9dbb78da4f19e80492b
This commit is contained in:
Luca Stefani
2018-07-11 10:13:11 +02:00
committed by Danny Baumann
parent 646a48d17f
commit 9850301224
4 changed files with 8 additions and 0 deletions

View File

@@ -9,6 +9,9 @@
# Lights
/system/bin/hw/android\.hardware\.light@2\.0-service\.oneplus_sdm845 u:object_r:hal_light_sdm845_exec:s0
# Modules
/system/lib/modules/wlan\.ko u:object_r:vendor_file:s0
# Power HAL
/system/lib64/hw/power\.qcom\.so u:object_r:vendor_file:s0
/system/lib/hw/power\.qcom\.so u:object_r:vendor_file:s0

2
sepolicy/private/init.te Normal file
View File

@@ -0,0 +1,2 @@
# Allow init to mount wlan kernel module
allow init vendor_file:file mounton;