From 07603e6e96abb171c0aaae7ec154decf37f25e79 Mon Sep 17 00:00:00 2001 From: Francescodario Cuzzocrea Date: Sat, 1 Feb 2020 09:34:08 +0100 Subject: [PATCH] Revert "msm8226-common: resolve sepolicy denials" This reverts commit 8296402cb43eb614fac0772f3775d78fa5f63fcc. --- sepolicy/common/hal_lineage_touch_default.te | 1 - sepolicy/common/init.te | 5 ----- sepolicy/common/wcnss_service.te | 2 -- 3 files changed, 8 deletions(-) diff --git a/sepolicy/common/hal_lineage_touch_default.te b/sepolicy/common/hal_lineage_touch_default.te index d8feec1..dd3851e 100644 --- a/sepolicy/common/hal_lineage_touch_default.te +++ b/sepolicy/common/hal_lineage_touch_default.te @@ -1,3 +1,2 @@ allow hal_lineage_touch_default sysfs_sec_tsp:dir search; allow hal_lineage_touch_default sysfs_sec_tsp:file rw_file_perms; -allow hal_lineage_touch_default sysfs_sec_touchkey:dir search; diff --git a/sepolicy/common/init.te b/sepolicy/common/init.te index 9b31ac9..061cf7a 100644 --- a/sepolicy/common/init.te +++ b/sepolicy/common/init.te @@ -46,11 +46,6 @@ allow init { sysfs_mmc_host sysfs_msm_perf sysfs_msm_power - sysfs_net sysfs_sec_key sysfs_thermal }:file w_file_perms; - -allow init { - wcnss_device -}:chr_file w_file_perms; diff --git a/sepolicy/common/wcnss_service.te b/sepolicy/common/wcnss_service.te index 0696605..48e83e2 100644 --- a/sepolicy/common/wcnss_service.te +++ b/sepolicy/common/wcnss_service.te @@ -1,3 +1 @@ allow wcnss_service efs_file:dir search; -allow wcnss_service wifi_efs_file:dir search; -allow wcnss_service wifi_efs_file:file r_file_perms;