aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Vander Stoep2018-04-11 16:52:48 -0500
committerJeff Vander Stoep2018-04-11 17:03:13 -0500
commitc41f5b84655210fe8194790e4a3edc11b504cc37 (patch)
tree536a642b3675b8aa97efe712ec42f2aad61fde9f
parent12e73685b75905fa5afa62cd1fb3631f9f2af818 (diff)
downloadsystem-sepolicy-c41f5b84655210fe8194790e4a3edc11b504cc37.tar.gz
system-sepolicy-c41f5b84655210fe8194790e4a3edc11b504cc37.tar.xz
system-sepolicy-c41f5b84655210fe8194790e4a3edc11b504cc37.zip
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 3a346ea73208dcb38adc9b33fac5527926166e3b)
-rw-r--r--private/hwservice_contexts2
1 files changed, 2 insertions, 0 deletions
diff --git a/private/hwservice_contexts b/private/hwservice_contexts
index abc989ea..90621a0d 100644
--- a/private/hwservice_contexts
+++ b/private/hwservice_contexts
@@ -43,6 +43,8 @@ android.hardware.renderscript::IDevice u:object_r:hal_r
43android.hardware.secure_element::ISecureElement u:object_r:hal_secure_element_hwservice:s0 43android.hardware.secure_element::ISecureElement u:object_r:hal_secure_element_hwservice:s0
44android.hardware.sensors::ISensors u:object_r:hal_sensors_hwservice:s0 44android.hardware.sensors::ISensors u:object_r:hal_sensors_hwservice:s0
45android.hardware.soundtrigger::ISoundTriggerHw u:object_r:hal_audio_hwservice:s0 45android.hardware.soundtrigger::ISoundTriggerHw u:object_r:hal_audio_hwservice:s0
46android.hardware.tetheroffload.config::IOffloadConfig u:object_r:hal_tetheroffload_hwservice:s0
47android.hardware.tetheroffload.control::IOffloadControl u:object_r:hal_tetheroffload_hwservice:s0
46android.hardware.thermal::IThermal u:object_r:hal_thermal_hwservice:s0 48android.hardware.thermal::IThermal u:object_r:hal_thermal_hwservice:s0
47android.hardware.thermal::IThermalCallback u:object_r:thermalcallback_hwservice:s0 49android.hardware.thermal::IThermalCallback u:object_r:thermalcallback_hwservice:s0
48android.hardware.tv.cec::IHdmiCec u:object_r:hal_tv_cec_hwservice:s0 50android.hardware.tv.cec::IHdmiCec u:object_r:hal_tv_cec_hwservice:s0