From bc39aadff85f28294a9b5cd2f8cf5a658932b5f1 Mon Sep 17 00:00:00 2001 From: Jeff Vander Stoep Date: Wed, 11 Apr 2018 14:57:58 -0700 Subject: [PATCH] hal_tetheroffload: move hwservice mapping to core policy Addresses: avc: denied { find } for interface=android.hardware.tetheroffload.config::IOffloadConfig scontext=u:r:system_server:s0 tcontext=u:object_r:default_android_hwservice:s0 tclass=hwservice_manager Bug: 77855688 Test: build/boot Sailfish, turn on tethering, no selinux denial Change-Id: I97cae0928b5311a4da41d19cbd5c863c3137a49f (cherry picked from commit 8424d3b945ebcc26b7019eb8769bd660fd3ad4fa) --- sepolicy/vendor/hwservice_contexts | 2 -- 1 file changed, 2 deletions(-) diff --git a/sepolicy/vendor/hwservice_contexts b/sepolicy/vendor/hwservice_contexts index 50ab7748..1fc05615 100644 --- a/sepolicy/vendor/hwservice_contexts +++ b/sepolicy/vendor/hwservice_contexts @@ -4,8 +4,6 @@ com.qualcomm.qti.uceservice::IUceService u:object_r:hal_i vendor.qti.atcmdfwd::IAtCmdFwd u:object_r:vnd_atcmdfwd_hwservice:s0 vendor.qti.qcril.am::IQcRilAudio u:object_r:vnd_qcrilhook_hwservice:s0 com.qualcomm.qti.imsrtpservice::IRTPService u:object_r:hal_imsrtp_hwservice:s0 -android.hardware.tetheroffload.config::IOffloadConfig u:object_r:hal_tetheroffload_hwservice:s0 -android.hardware.tetheroffload.control::IOffloadControl u:object_r:hal_tetheroffload_hwservice:s0 com.quicinc.cne.api::IApiService u:object_r:hal_cne_hwservice:s0 com.quicinc.cne.server::IServer u:object_r:hal_cne_hwservice:s0 vendor.nxp.nxpnfc::INxpNfc u:object_r:nxpnfc_hwservice:s0