Revert "qcom: qrtr: Disable qrtr-ns and qrtr-cfg"
This reverts commit 2cf92a4173d774ad491709f80fe8fe3aa1698e6a.
Needed to get WiFi working on android-5.4 kernel. Otherwise
we need to backport a chunk of in-kernel qrtr ns patches
from upstream (v5.7-rc1) kernel. Userspace qrtr-ns tool is
compatible with upstream kernel as well, check:
https://android-review.googlesource.com/c/1286419
Change-Id: Icf9654ed415fe77c8f22592feccd7c68f46bd765
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index f223cc4..d16f3fc 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -31,6 +31,8 @@
/vendor/bin/hw/android\.hardware\.gatekeeper@1\.0-service\.software u:object_r:hal_gatekeeper_default_exec:s0
/vendor/bin/pd-mapper u:object_r:pd_mapper_exec:s0
+/vendor/bin/qrtr-cfg u:object_r:qrtr_exec:s0
+/vendor/bin/qrtr-ns u:object_r:qrtr_exec:s0
/vendor/bin/rmtfs u:object_r:rmtfs_exec:s0
/vendor/bin/tqftpserv u:object_r:tqftpserv_exec:s0
@@ -40,3 +42,4 @@
/vendor/lib(64)?/libdrm_freedreno\.so u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/libgbm\.so u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/libglapi\.so u:object_r:same_process_hal_file:s0
+/vendor/lib(64)?/libqrtr\.so u:object_r:same_process_hal_file:s0