From 2a60f4b011b30e5230fbb23defa6d9b9779bbeeb Mon Sep 17 00:00:00 2001 From: Danny Baumann Date: Tue, 19 Nov 2019 12:33:28 +0100 Subject: [PATCH] sdm845-common: Adapt to Lineage sepolicy changes device/lineage/sepolicy now also covers the system variant of the trust HAL, so we must remove the respective definitions to not create duplicate labels. Change-Id: I4e8642072bde3c17f91688cfd8c91ac9db9dcaf7 --- sepolicy/private/file_contexts | 1 - sepolicy/private/hal_trust_default.te | 5 ----- 2 files changed, 6 deletions(-) delete mode 100644 sepolicy/private/hal_trust_default.te diff --git a/sepolicy/private/file_contexts b/sepolicy/private/file_contexts index 85381b6..8ddd5db 100644 --- a/sepolicy/private/file_contexts +++ b/sepolicy/private/file_contexts @@ -17,7 +17,6 @@ /system/bin/hw/lineage\.biometrics\.fingerprint\.inscreen@1.0-service\.oneplus_fajita u:object_r:hal_fod_sdm845_exec:s0 /system/bin/hw/lineage\.livedisplay@2\.0-service\.oneplus_sdm845 u:object_r:hal_livedisplay_sdm845_exec:s0 /system/bin/hw/lineage\.touch@1\.0-service\.oneplus_sdm845 u:object_r:hal_touch_sdm845_exec:s0 -/system/bin/hw/lineage\.trust@1\.0-service u:object_r:hal_trust_default_exec:s0 # Modules /system/lib/modules/wlan\.ko u:object_r:system_file:s0 diff --git a/sepolicy/private/hal_trust_default.te b/sepolicy/private/hal_trust_default.te deleted file mode 100644 index 3567ba3..0000000 --- a/sepolicy/private/hal_trust_default.te +++ /dev/null @@ -1,5 +0,0 @@ -type hal_trust_default, coredomain, domain; -hal_server_domain(hal_trust_default, hal_lineage_trust) - -type hal_trust_default_exec, system_file_type, exec_type, file_type; -init_daemon_domain(hal_trust_default)