diff options
author | Jeff Vander Stoep | 2018-04-11 16:52:48 -0500 |
---|---|---|
committer | Jeff Vander Stoep | 2018-04-11 17:03:13 -0500 |
commit | c41f5b84655210fe8194790e4a3edc11b504cc37 (patch) | |
tree | 536a642b3675b8aa97efe712ec42f2aad61fde9f | |
parent | 12e73685b75905fa5afa62cd1fb3631f9f2af818 (diff) | |
download | system-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_contexts | 2 |
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 | |||
43 | android.hardware.secure_element::ISecureElement u:object_r:hal_secure_element_hwservice:s0 | 43 | android.hardware.secure_element::ISecureElement u:object_r:hal_secure_element_hwservice:s0 |
44 | android.hardware.sensors::ISensors u:object_r:hal_sensors_hwservice:s0 | 44 | android.hardware.sensors::ISensors u:object_r:hal_sensors_hwservice:s0 |
45 | android.hardware.soundtrigger::ISoundTriggerHw u:object_r:hal_audio_hwservice:s0 | 45 | android.hardware.soundtrigger::ISoundTriggerHw u:object_r:hal_audio_hwservice:s0 |
46 | android.hardware.tetheroffload.config::IOffloadConfig u:object_r:hal_tetheroffload_hwservice:s0 | ||
47 | android.hardware.tetheroffload.control::IOffloadControl u:object_r:hal_tetheroffload_hwservice:s0 | ||
46 | android.hardware.thermal::IThermal u:object_r:hal_thermal_hwservice:s0 | 48 | android.hardware.thermal::IThermal u:object_r:hal_thermal_hwservice:s0 |
47 | android.hardware.thermal::IThermalCallback u:object_r:thermalcallback_hwservice:s0 | 49 | android.hardware.thermal::IThermalCallback u:object_r:thermalcallback_hwservice:s0 |
48 | android.hardware.tv.cec::IHdmiCec u:object_r:hal_tv_cec_hwservice:s0 | 50 | android.hardware.tv.cec::IHdmiCec u:object_r:hal_tv_cec_hwservice:s0 |