summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Bestas <mkbestas@gmail.com>2019-11-24 19:29:52 +0200
committerMichael Bestas <mkbestas@lineageos.org>2020-04-30 02:24:07 +0300
commit4afed3125c0ddbf7b19ab244bb54cdc1e39d357f (patch)
tree2f810c4087abc732051a090a63a8fe161bcb655f
parenteb96eef02454fe0bf6552388f9d666c267b90fe5 (diff)
sdm660-common: sepolicy: Remove deprecated power HAL stats policies
Change-Id: If1b846c96c7c029afe73b9676e42b38cd2889dc8
-rw-r--r--sepolicy/vendor/file.te1
-rw-r--r--sepolicy/vendor/genfs_contexts3
-rw-r--r--sepolicy/vendor/hal_power_default.te1
-rw-r--r--sepolicy/vendor/kernel.te1
4 files changed, 0 insertions, 6 deletions
diff --git a/sepolicy/vendor/file.te b/sepolicy/vendor/file.te
index 3901f9c..f2e1ab4 100644
--- a/sepolicy/vendor/file.te
+++ b/sepolicy/vendor/file.te
@@ -1,4 +1,3 @@
-type debugfs_wlan, debugfs_type, fs_type;
type ir_dev_file, file_type;
type sysfs_touchpanel, fs_type, sysfs_type;
type sysfs_fingerprint, fs_type, sysfs_type;
diff --git a/sepolicy/vendor/genfs_contexts b/sepolicy/vendor/genfs_contexts
index baf0bae..f0c4efa 100644
--- a/sepolicy/vendor/genfs_contexts
+++ b/sepolicy/vendor/genfs_contexts
@@ -22,9 +22,6 @@ genfscon sysfs /devices/soc/800f000.qcom,spmi/spmi-0/spmi0-03/800f000.qcom,spmi:
genfscon sysfs /devices/soc/800f000.qcom,spmi/spmi-0/spmi0-03/800f000.qcom,spmi:qcom,pm660l@3:qcom,leds@d000/leds/button-backlight1 u:object_r:sysfs_graphics:s0
genfscon sysfs /devices/soc/800f000.qcom,spmi/spmi-0/spmi0-03/800f000.qcom,spmi:qcom,pm660l@3:qcom,leds@d000/leds/white u:object_r:sysfs_graphics:s0
-# Power
-genfscon debugfs /wlan0 u:object_r:debugfs_wlan:s0
-
# RTC
genfscon sysfs /devices/soc/800f000.qcom,spmi/spmi-0/spmi0-00/800f000.qcom,spmi:qcom,pm660@0:qcom,pm660_rtc/rtc u:object_r:sysfs_rtc:s0
diff --git a/sepolicy/vendor/hal_power_default.te b/sepolicy/vendor/hal_power_default.te
index d09d621..f3999d7 100644
--- a/sepolicy/vendor/hal_power_default.te
+++ b/sepolicy/vendor/hal_power_default.te
@@ -1,3 +1,2 @@
allow hal_power_default sysfs_touchpanel:dir search;
allow hal_power_default sysfs_touchpanel:file rw_file_perms;
-r_dir_file(hal_power_default, debugfs_wlan)
diff --git a/sepolicy/vendor/kernel.te b/sepolicy/vendor/kernel.te
deleted file mode 100644
index 9ba3537..0000000
--- a/sepolicy/vendor/kernel.te
+++ /dev/null
@@ -1 +0,0 @@
-allow kernel debugfs_wlan:dir search;